Google 會運用 AI 技術將內容翻譯成你偏好的語言,但可能會出錯。
重複使用叢集
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
在 Cloud Data Fusion 中重複使用 Managed Service for Apache Spark 叢集,可減少佈建負擔,並加快各次執行的管道執行速度。詳情請參閱「何時應重複使用叢集」和「針對現有的 Managed Service for Apache Spark 叢集執行管道」。
事前準備
- 您必須擁有 6.5.0 以上版本的 Cloud Data Fusion 執行個體。
啟用叢集重複使用功能
您可以在新的運算設定檔中重複使用叢集,也可以在已部署的管道中使用叢集。
在新的設定檔中啟用叢集重複使用功能
前往執行個體:
在 Google Cloud 控制台中,前往 Cloud Data Fusion 頁面。
如要在 Cloud Data Fusion Studio 中開啟執行個體,請依序按一下「Instances」和「View instance」。
前往「Instances」(執行個體)
依序點選「System admin」(系統管理員)>「Configuration」(設定)>「System compute profiles」(系統運算設定檔)。
按一下「建立新個人檔案」。
選擇 Managed Service for Apache Spark 佈建工具。
在「Create a profile for Managed Service for Apache Spark」(建立 Managed Service for Apache Spark 設定檔) 視窗中,輸入叢集的詳細資料:
- 在「Profile label」(設定檔標籤) 和「Profile name」(設定檔名稱) 欄位中,輸入用於識別設定檔的名稱,例如
execution_compute-profile。
- 在「Description」(說明) 欄位中,說明設定檔的用途,例如
Profile used for pipeline execution。
- 在「Max idle time」(閒置時間上限) 欄位中輸入值。詳情請參閱「設定閒置時間上限」。
- 將「Skip cluster delete」(略過叢集刪除作業) 欄位設為
True。詳情請參閱「何時應重複使用叢集」。
- 選用:設定其他選用欄位。
- 點選「建立」。
在已部署的管道中啟用叢集重複使用功能
前往執行個體:
在 Google Cloud 控制台中,前往 Cloud Data Fusion 頁面。
如要在 Cloud Data Fusion Studio 中開啟執行個體,請依序按一下「Instances」和「View instance」。
前往「Instances」(執行個體)
按一下「List」(清單)。
按一下「Deployed」(已部署) 分頁標籤,然後點選管道名稱。部署的管道會在 Cloud Data Fusion 網頁介面的「Studio」頁面開啟。
按一下 [設定]。
在「Compute config」(運算設定) 視窗中,前往所選設定檔,然後按一下「Customize」(自訂)。
在開啟的視窗中輸入下列值:
- 在「Max Idle Time」(閒置時間上限) 欄位中輸入值。詳情請參閱「設定閒置時間上限」。
- 將「Skip cluster delete」(略過叢集刪除作業) 設為
True。詳情請參閱「何時應重複使用叢集」。
按一下「完成」。
後續步驟
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-10-27 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-10-27 (世界標準時間)。"],[],[]]