We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python-docs-samples/dataproc/submit_job_to_cluster.py
Is it possible to add the master machine type and worker machine type args in the following function?
master machine type
worker machine type
# [START create_cluster] def create_cluster(dataproc, project, zone, region, cluster_name): print('Creating cluster...') zone_uri = \ 'https://www.googleapis.com/compute/v1/projects/{}/zones/{}'.format( project, zone) cluster_data = { 'projectId': project, 'clusterName': cluster_name, 'config': { 'gceClusterConfig': { 'zoneUri': zone_uri } } } result = dataproc.projects().regions().clusters().create( projectId=project, region=region, body=cluster_data).execute() return result # [END create_cluster]
The text was updated successfully, but these errors were encountered:
@waprin can you take a look?
Sorry, something went wrong.
Will take look
Handled by PR #1203.
No branches or pull requests
In which file did you encounter the issue?
python-docs-samples/dataproc/submit_job_to_cluster.py
Describe the issue
Is it possible to add the
master machine type
andworker machine type
args in the following function?The text was updated successfully, but these errors were encountered: