Skip to content
Advertisement

How do I correctly add worker nodes to my cluster?

I am trying to create a cluster with the following parameters on Google Cloud:

  1. 1 Master
  2. 7 Worker nodes
  3. Each of them with 1 vCPU
  4. The master node should get full SSD capacity and the worker nodes should get equal shares of standard disk capacity.

This is my code:

JavaScript

This is my error:

JavaScript

Updated attempt:

JavaScript

I don’t follow what I am doing wrong here. Can anyone advise?

Advertisement

Answer

The documentation should help gcloud dataproc clusters create. It explains that:

The documentation describes Secondary workers

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement