Mettre à jour un cluster
bookmark_borderbookmark
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Cet exemple explique à un utilisateur comment mettre à jour un cluster Cloud Dataproc à l'aide de la bibliothèque cliente Python.
Exemple de code
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","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."]]],[]]