2014-10-10 2 views
1

3 노드가있는 CDH 5.1 클러스터가 있습니다. 우리는 cloudera 관리자 자동 설치를 사용하여 설치했습니다. 상자를 다른 네트워크로 옮기고 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 주소를 변경하는 방법을 도와 주실 수 얻기 안전하게 CDH 5.1 클러스터 .....

감사합니다, 미트

+0

etc/hosts에 아무 것도 설정하지 않았습니까? –

+0

그래, 내가 didfollowing 내 호스트 모습 127.0.0.1 localhost를 가 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

+0

당신이해야 파일입니다 ips 대신 모든 도메인 이름 사용 –

답변

2

이 때문에 귀중한 클라우 데라-SCM-에이전트 서비스의 원인이됩니다

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

가 다시 에이전트를 다시 시도하십시오 제대로 중지되지 않았습니다.

$>service cloudera-scm-agent start