Atualizar um cluster
bookmark_borderbookmark
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Este exemplo orienta o usuário na atualização de um cluster do Cloud Dataproc usando a biblioteca de cliente Python.
Exemplo de código
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],[],[[["This sample demonstrates how to update a Cloud Dataproc cluster using the Python client library."],["The process involves creating a client with the specified cluster region, retrieving the cluster to update, and then updating the desired parameters such as the number of instances."],["The sample utilizes the `dataproc.ClusterControllerClient` to manage cluster operations and the `update_cluster` function to apply changes."],["Authentication to Dataproc is required, utilizing Application Default Credentials."],["You can find more samples for other Google Cloud products using the Google Cloud sample browser."]]],[]]