[英]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.