2014-10-10 129 views
1

我有一个包含3个节点的CDH 5.1群集。我们使用cloudera manager自动安装来安装它。 它运行完美,直到我们将该框移到不同的网络并更改了IP地址。我试过以下步骤CDH 5.1主机IP地址更改

1. Stopped service, cloudera-scm-server. 
2. Stopped service, cloudera-scm-agent 
3. Edit the /etc/cloudera-scm-agent/config.ini 
4. change the server host to the new ip. 
5. restart service, cloudera-scm-agent, cloudera-scm-server. 

不工作。

然后我跟着 http://www.cloudera.com/content/cloudera/en/documentation/cloudera-manager/v4-latest/Cloudera-Manager-Administration-Guide/cmag_change_hostnames.html 即使直接更改PostgreSQL中的ips,也没有帮助。

我发现了以下博客: http://www.geovanie.me/changing-ip-of-node-in-cdh-cluster/

获得在SCM-代理日志文件以下错误

ProtocolError: <ProtocolError for 127.0.0.1/RPC2: 401 Unauthorized> 

不工作.... 任何人都可以请帮助如何改变所有的IP地址在一鼎晖5.1集群安全.....

感谢, 阿米特

+0

你在etc/hosts中设置了什么吗? – 2014-10-11 07:43:16

+0

是的,我didfollowing是我的hosts文件看127.0.0.1本地主机 113.128.152.38 txwlcloud1.dhcp.xxx.com 113.128.152.184 txwlcloud2.dhcp.xxx.com 113.128.152.197 txwlcloud3.dhcp.xxx.com – Dutta 2014-10-13 14:38:37

+0

你应该到处使用域名而不是ips – 2014-10-14 06:11:23

回答

2

这是因为珍贵的Cloudera-SCM-代理服务造成不正确停止,请尝试,

$> ps -ef | grep supervisord 
$> kill -9 <processID> 

然后再次重新启动代理。

$>service cloudera-scm-agent start