1000字范文,内容丰富有趣,学习的好帮手!
1000字范文 > CDH集群更换ip 主机名

CDH集群更换ip 主机名

时间:2019-11-16 23:01:30

相关推荐

CDH集群更换ip 主机名

1, CDH集群:更换节点ip

hdfs,yarn --> 集群更换ip后,可以自动识别,并重启生效,服务正常运行

2, CDH集群:更换主机名

cloudera-scm-server启动失败

cloudera-scm-agent启动失败

[12/Sep/ 19:22:04 +0000] 4106 MainThread agent ERROR Heartbeating to cdh1:7182 failed.Traceback (most recent call last):File "/opt/cm-5.12.2/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.12.2-py2.6.egg/cmf/agent.py", line 1417, in _send_heartbeatresponse = self.requestor.request('heartbeat', dict(request=heartbeat))File "/opt/cm-5.12.2/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 141, in requestreturn self.issue_request(call_request, message_name, request_datum)File "/opt/cm-5.12.2/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 254, in issue_requestcall_response = self.transceiver.transceive(call_request)File "/opt/cm-5.12.2/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 483, in transceive

解决办法: 在/etc/hosts文件中,ip后面添加原主机名(mysql中主机名ip所在的配置scm数据库表: CM_VERSION; HOSTS; HOSTS_AUD;)

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。