简体   繁体   English

通过API进行CDH自动部署不会为主机设置CDH版本

[英]CDH autodeployment via API does not set the CDH version for the hosts

I am trying to deploy automatically the version 4.7.1 of Cloudera CDH using the Python API of the Cloudera Manager 5.3.1. 我正在尝试使用Cloudera Manager 5.3.1的Python API自动部署Cloudera CDH的4.7.1版本。 I am following the example here: 我在这里跟随示例:

https://github.com/cloudera/cm_api/blob/master/python/examples/auto-deploy/deploycloudera.py https://github.com/cloudera/cm_api/blob/master/python/examples/auto-deploy/deploycloudera.py

Once that I init the cluster, create all the services that I need (Zookeeper, HDFS, MapReduce, and HBase) and start the cluster, all is ok except from a detail: All the services appear on Concerning Status because of the following issue: 初始化集群后,创建我需要的所有服务(Zookeeper,HDFS,MapReduce和HBase)并启动集群,除细节外,一切正常:由于以下问题,所有服务均显示在“关注状态”上:

Mismatched CDH versions: host has NONE but role expects 4 CDH版本不匹配:主机没有,但角色期望4

I've tried to update the CDH version of the cluster manually with: 我尝试使用以下方法手动更新群集的CDH版本:

cluster.update_cdh_version("4.7.1")

but that didn't update the CDH version of the hosts. 但这并没有更新主机的CDH版本。 Does anyone know to fix this problem? 有人知道要解决此问题吗?

Thanks 谢谢

I also posted my question into the Cloudera Community forum and the offer insight that helped me find a solution. 我也将问题发布到Cloudera社区论坛上,并且提供的见解帮助我找到了解决方案。 I hope it helps others: 我希望它可以帮助其他人:

http://community.cloudera.com/t5/Cloudera-Manager-Installation/Autodeployment-with-CM-Manager-5-3-1-issue/mp/24422/highlight/false http://community.cloudera.com/t5/Cloudera-Manager-Installation/Autodeployment-with-CM-Manager-5-3-1-issue/mp/24422/highlight/false

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在CDH虚拟机上找不到python mrjob moduel - python mrjob moduel not found on CDH virtual machine 与cloudera cdh 5集群的mrjob NoFIleFound异常 - mrjob NoFIleFound Exception with cloudera cdh 5 cluster Anaconda CDH Parcel将Python升级到3.5 - Anaconda CDH Parcel upgrade Python to 3.5 在CDH 5.3.0上安装pydoop 1.0.0-rc1 - Installing pydoop 1.0.0-rc1 on CDH 5.3.0 Hadoop Streaming Job-python停留在map 0%时减少了CDH4.5中的0% - Hadoop Streaming Job - python stuck at map 0% reduce 0% in CDH4.5 在CDH3上编写HBase MapReduce的最简单的非Java方法? - Easiest non-Java way to write HBase MapReduce on CDH3? 如何在没有网络访问的情况下将 parckage(如 mmlspark)安装到 CDH 集群? - how do I install parckage(such as mmlspark) to CDH cluster without network access? python fabric是否支持动态设置env.hosts? - Does python fabric support dynamic set env.hosts? Pydoop错误:RuntimeError:找不到java home,请尝试使用CDH5.4在远程服务器上设置JAVA_HOME - Pydoop error: RuntimeError: java home not found, try setting JAVA_HOME on remote server using CDH5.4 Cloudera/CDH v6.1.x + Python HappyBase v1.1.0: TTransportException(type=4, message='TSocket read 0 bytes') - Cloudera/CDH v6.1.x + Python HappyBase v1.1.0: TTransportException(type=4, message='TSocket read 0 bytes')
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM