Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Documentation for passing the cluster configuration to update_cluster #111

@go-dustin

Description

@go-dustin

When trying to update a running cluster, you are required to pass in the cluster configuration. The documentation isn't clear on what that should be and expects you to know what the proto-buffer should be. Which creates a bit of circular problem, if you don't know what the proto-buffer is supposed to be you have no point of reference, so you won't know what to pass. We could use an example explaining how this works.

"If a dict is provided, it must be of the same form as the protobuf message Cluster"

response = client.update_cluster(project_id, region, cluster_name, cluster, update_mask)


In the meantime, can someone please explain how to this works? Ideally I'd be able to get the config from an existing cluster and then pass that with the update_mask to increase/decrease the number of workers.

Metadata

Metadata

Assignees

Labels

api: dataprocIssues related to the googleapis/python-dataproc API.type: docsImprovement to the documentation for an API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions