Google compute engine &引用;为“hadoop启动”计算“集群”;不';t使用gcutil 1.10.0

Google compute engine &引用;为“hadoop启动”计算“集群”;不';t使用gcutil 1.10.0,google-compute-engine,Google Compute Engine,更新:它看起来像是/compute\u cluster\u for\u hadoop.py可以与gcutil 1.9.1一起使用,但不能与gcutil 1.10.0一起使用。所以我真正想问的是如何修复compute_cluster_,使hadoop能够与当前的gcutil一起工作 在使用compute_cluster_for_hadoop.py几个星期之后,现在启动集群挂起,即使在我再次设置集群之后 以下是我注意到的一些事情。首先,我现在在运行“compute\u cluster\u for_h

更新:它看起来像是/compute\u cluster\u for\u hadoop.py可以与gcutil 1.9.1一起使用,但不能与gcutil 1.10.0一起使用。所以我真正想问的是如何修复compute_cluster_,使hadoop能够与当前的gcutil一起工作

在使用compute_cluster_for_hadoop.py几个星期之后,现在启动集群挂起,即使在我再次设置集群之后

以下是我注意到的一些事情。首先,我现在在运行“compute\u cluster\u for_hadoop.py start…”时收到以下消息,我必须手动输入“yes”(以前,它不需要任何用户输入)

主持人的真实性 "谷歌计算引擎实例,;项目=cspp53013;区域=us-central1-a;实例=hm;id=9724559583598617300 (8.35.196.11)“无法建立”。ECDSA密钥指纹为 02:2b:ea:7d:48:27:7d:1b:e2:2a:d4:44:d0:07:95:b4。你确定你想要吗 要继续连接(是/否)

然后再进行一段时间。在安装完deb_包之后,它会打印以下内容

正在处理ca证书的触发器。。。在中更新证书 /etc/ssl/certs。。。增加0,删除0;完成。下弯钩 /etc/ca证书/更新.d。。。。完成。完成了

然后不管我等多久它都会挂起来

你知道会发生什么变化或者如何修复吗

谢谢


迈克

好的。找到了答案。我们只需要补充一下

--ssh_arg“-o StrictHostKeyChecking=否”


对于gce_cluster.py的第151行,它同时适用于gcutil-1.9.1和gcutil-1.10.0

BTW,这里是当我在脚本中按Ctrl-C时的回溯:回溯(最后一次调用):文件“xxx/compute_cluster_for_hadoop.py”,第223行,在main()文件“xxx/compute_cluster_for_hadoop.py”的第219行,在main ComputeClusterForHadoop()中.ParseArgumentsAndExecute(sys.argv[1:])文件“xxx/compute_cluster_for_hadoop.py”,第215行,在ParseArgumentsAndExecute params.handler(params)文件“xxx/compute_cluster_for_hadoop.py”,第41行,在Start gce_cluster.GceCluster(flags)中。StartCluster()-在下一个注释文件“xxx/gce_cluster.py”第324行继续,在StartCluster self.\u Postprocess()文件“xxx/gce_cluster.py”的第298行,在“xxx/gce_cluster.py”的WaitForInstancesReady()文件“xxx/gce_cluster.py”的第191行,在“WaitForInstancesReady if self.\u CheckSshReady(实例名称):文件“xxx/gce_cluster.py”,第154行,在“CheckSshReady if subprocess.call”(命令,shell=True):文件“/usr/lib/python2.7/subprocess.py”,第493行,在调用返回Popen(*popenargs,**kwargs).wait()-在下一个注释文件/usr/lib/python2.7/subprocess.py中继续,第1301行,在等待pid中,sts=\eintr\u重试调用(os.waitpid,self.pid,0)文件“/usr/lib/python2.7/subprocess.py”,第478行,在调用返回函数(*args)中键盘中断