【发布时间】:2016-11-17 16:53:17
【问题描述】:
我已经使用 Jupyter (https://cloud.google.com/dataproc/tutorials/jupyter-notebook) 安装了一个 Google DataProc 集群。通过使用以下命令:
gcloud dataproc clusters create reco-test --zone=europe-west1-d --master-machine-type n1-standard-2 --master-boot-disk-size 100 --num-workers 2 --worker-machine-type n1-standard-2 --worker-boot-disk-size 50 --project *project* --bucket *bucket* --initialization-actions gs://dataproc-initialization-actions/jupyter/jupyter.sh`
女巫是一种魅力。之后我尝试进行 SSH 转发,但出现错误:
gcloud compute ssh --zone=europe-west1-d --ssh-flag="-D 10000" --ssh-flag="-N" --ssh-flag="-n" "reco-test-m" &
给出的错误可以在下图中作为错误 1 找到。
如果我删除“-D”
gcloud compute ssh --zone=europe-west1-d --ssh-flag="10000" --ssh-flag="-N" --ssh-flag="-n" "reco-test-m" &
给出的错误可以在下图中作为错误 2 找到。
如果我删除 "--ssh-flag="-n""
gcloud compute ssh --zone=europe-west1-d --ssh-flag="10000" --ssh-flag="-N" --ssh-flag="-n" "reco-test-m" &`
给出的错误可以在下图中作为错误 3 找到。
有人可以帮我解决这个问题吗?
【问题讨论】:
标签: ssh jupyter jupyter-notebook google-cloud-dataproc