"Managed Service for Apache Spark" is the new name for the product formerly known as "Dataproc on Compute Engine" (cluster deployment) and "Google Cloud Serverless for Apache Spark" (serverless deployment).
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
提供意見
使用 SSH 連線至叢集
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
您可以使用 Google Cloud 控制台或 Google Cloud CLI,在 Managed Service for Apache Spark 叢集節點上開啟 SSH 工作階段。
請參閱「叢集網頁介面 」,瞭解如何連線至叢集主節點上執行的網頁介面。
控制台
前往 Google Cloud 控制台的「VM instances 」(VM 執行個體) 頁面。
在虛擬機器執行個體清單中,按一下您要連線的執行個體那一列的 SSH 。
瀏覽器視窗會開啟節點上的主目錄。
Connected, host fingerprint: ssh-rsa ...
Linux cluster-1-m 3.16.0-0.bpo.4-amd64 ...
...
user@cluster-1-m:~$
您也可以在 Google Cloud 控制台的 Managed Service for Apache Spark「Cluster details」(叢集詳細資料) 頁面,透過「VM Instances」(VM 執行個體) 分頁標籤,使用 SSH 連線至 Managed Service for Apache Spark 叢集節點。
Google Cloud CLI
在本機終端機視窗或從 Cloud Shell 執行 gcloud compute ssh 指令,以使用 SSH 連線至叢集 VM 節點。
gcloud compute ssh cluster-VM-name \
--zone=zone \
--project=project-id
範例 (主要節點的預設名稱是叢集名稱加一個 -m 後置字串):
gcloud compute ssh cluster-1-m \
--zone=us-central-1-a \
--project=my-project-id
...
Linux cluster-1-m 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6...
...
user@cluster-1-m:~$
提供意見
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權 ,程式碼範例則為阿帕契 2.0 授權 。詳情請參閱《Google Developers 網站政策 》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-06-03 (世界標準時間)。
想進一步說明嗎?
[[["容易理解","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-06-03 (世界標準時間)。"],[],[]]