【问题标题】:Google Cloud Hadoop Nodes not yet sshable errorGoogle Cloud Hadoop Nodes not yet sshable 错误
【发布时间】:2015-03-18 02:34:50
【问题描述】:

我在 cygwin 上运行了以下引用 https://cloud.google.com/hadoop/setting-up-a-hadoop-cluster 的命令。

gsutil.cmd mb -p [projectname] gs://[bucketname]      
./bdutil -p [projectname] -n 2 -b [bucketname] -e hadoop2_env.sh      
generate_config configuration.sh   
./bdutil -e configuration.sh deploy  

部署后,我收到以下错误: .
.
.

Node 'hadoop-w-0' did not become    ssh-able after 10 attempts  
Node    'hadoop-w-1' did not become ssh-able after 10 attempts  
Node 'hadoop-m' did not become ssh-able after 10    attempts  

命令失败:在第 308 行等待 ${SUBPROC}。

失败命令的退出代码:1

文件中提供了详细的调试信息:/tmp/bdutil-20150120-103601-mDh/debuginfo.txt*

debuginfo.txt 中的日志如下:

******************* Exit codes and VM logs *******************
Tue, Jan 20, 2015 10:18:09 AM: Exited 1 : gcloud.cmd --project=[projectname] --quiet --verbosity=info compute ssh hadoop-w-0 --command=exit 0 --ssh-flag=-oServerAliveInterval=60 --ssh-flag=-oServerAliveCountMax=3 --ssh-flag=-oConnectTimeout=30 --zone=us-central1-a    
Tue, Jan 20, 2015 10:18:09 AM: Exited 1 : gcloud.cmd --project=[projectname] --quiet --verbosity=info compute ssh hadoop-w-1 --command=exit 0 --ssh-flag=-oServerAliveInterval=60 --ssh-flag=-oServerAliveCountMax=3 --ssh-flag=-oConnectTimeout=30 --zone=us-central1-a   
Tue, Jan 20, 2015 10:18:09 AM: Exited 1 : gcloud.cmd --project=[projectname] --quiet --verbosity=info compute ssh hadoop-w-2 --command=exit 0 --ssh-flag=-oServerAliveInterval=60 --ssh-flag=-oServerAliveCountMax=3 --ssh-flag=-oConnectTimeout=30 --zone=us-central1-a  

您能帮我解决这个问题吗?非常感谢。

【问题讨论】:

  • 在运行 bdutil 之前,您是否能够通过 SSH 连接到 GCE 虚拟机并手动创建虚拟机?很容易错过,但在运行 bdutil 之前必须执行此步骤:cloud.google.com/compute/docs/instances#sshing(在 cloud.google.com/hadoop 页上的“配置 gcutil ssh”中提到)。必须在没有密码的情况下对其进行配置。
  • 谢谢@Dennis Huo。不,这还没有完成。但我能够使用谷歌云 SDK 进行 ssh,所以我没有设置它。我会试着告诉你。

标签: cygwin google-cloud-storage google-cloud-platform google-hadoop


【解决方案1】:

您可能需要查看 Hadoop 实例的控制台输出,方法是在 Developers console > Compute Engine > VM Instances > INSTANCE_NAME > 向下滚动到 View Console Output 。

另外你可以运行:

$ gcloud 计算实例 get-serial-port-output INSTANCE_NAME

  • 这应该可以让您更好地了解实例启动时幕后发生的情况(检查 SSH 守护程序是否已启动以及在哪个端口上......等等)。

【讨论】:

    猜你喜欢
    • 2017-03-03
    • 2012-04-14
    • 1970-01-01
    • 2016-04-03
    • 1970-01-01
    • 2015-04-12
    • 2022-08-19
    • 2015-12-21
    • 2015-08-21
    相关资源
    最近更新 更多