python - Google云平台上的Hadoop集群无法启动

标签 python hadoop google-compute-engine google-cloud-platform google-hadoop

我正在尝试使用以下资源在Google Cloud Platform中创建Hadoop集群:

  • https://cloud.google.com/solutions/hadoop/
  • https://github.com/GoogleCloudPlatform/solutions-google-compute-engine-cluster-for-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/

    相关文章:

    python - 使用 Popen 在 Python 中替换 Bash 进程

    python - 在 Python 中从文件名中提取文件扩展名的方法是什么?

    hadoop - 如何有效地复制同一个文件系统中的文件

    hadoop - 从作业日志中查找 reducers 的数量

    node.js - Node.js 和 Google Cloud 数据存储入门教程中出现 token 错误

    python - 单元测试python时的多个异常和代码覆盖

    python多维列表..如何抓取一维?

    Hadoop setJarByClass 不工作

    kubernetes - 将Cassandra迁移到GCP

    google-compute-engine - Google Compute Engine:如何永久设置主机名?