Memperbarui cluster
bookmark_borderbookmark
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Contoh ini memandu pengguna untuk mengupdate cluster Cloud Dataproc menggunakan library klien Python.
Contoh kode
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","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."]]],[]]