Actualizar un clúster
bookmark_borderbookmark
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
En este ejemplo, se guía al usuario para que actualice un clúster de Cloud Dataproc con la biblioteca cliente de Python.
Muestra de código
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","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."]]],[]]