0

我尝试使用以下资源创建的谷歌云计算平台Hadoop集群: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的实例,如果你访问

https://cloud.google.com/solutions/hadoop/

现在将指向

https://developers.google.com/hadoop/

的 “bdutil” 我使用--noauth_local_webserver

+0

我还没有试过Google Cloud,但这似乎是关于oauth2的错误,所以关于身份验证。在oauth2舞蹈中你忘记了一个范围吗? –

回答

1

可从Google下载的脚本(请参阅“获取安装脚本”)是推荐的Hadoop启动脚本。