我正在尝试使用以下资源在Google Cloud Platform中创建Hadoop集群:
设置Hadoop集群后,我尝试启动Hadoop并出现以下错误:
File "./compute_cluster_for_hadoop.py", line 60, in __call__
oauth2client.tools.gflags.FLAGS.auth_local_webserver = False
AttributeError: 'module' object has no attribute 'gflags'
我正在通过SSH访问实例,并且正在使用
--noauth_local_webserver
最佳答案
如果您访问
https://cloud.google.com/solutions/hadoop/
您现在将被定向到
https://developers.google.com/hadoop/
可从此处下载的“bdutil”脚本(请参阅“获取安装脚本”)是Google推荐的Hadoop启动脚本。
关于python - Google云平台上的Hadoop集群无法启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22788415/