I have a CDH 5.1 cluster with 3 nodes. We installed it using cloudera manager automated installation. It was running perfect until we moved the box to a different network and IP addresses changed. I tried following steps
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.
not working .
Then i followed http://www.cloudera.com/content/cloudera/en/documentation/cloudera-manager/v4-latest/Cloudera-Manage... Not helped even after changing the ips in the PostgreSQL directly.
I found following blog : http://www.geovanie.me/changing-ip-of-node-in-cdh-cluster/
Getting following error in the scm-agent log file
ProtocolError: <ProtocolError for 127.0.0.1/RPC2: 401 Unauthorized>
No helped .... Can anyone please help how to change all IP addresses in a cdh 5.1 cluster safely .....
Thanks, Amit
Created 10-15-2014 01:10 PM
I found the solution for the above issue
1) for protocolError we need to use kill -9 to kill the superviser
2) the above mention steps are correct I was making some typo with the ip and hostnames in the config.ini in one of the hosts.
Hope that help....
Thanks,
Amit
Created 10-15-2014 01:10 PM
I found the solution for the above issue
1) for protocolError we need to use kill -9 to kill the superviser
2) the above mention steps are correct I was making some typo with the ip and hostnames in the config.ini in one of the hosts.
Hope that help....
Thanks,
Amit
Created 01-24-2016 02:05 PM
Created 10-24-2017 08:52 AM
Steps to find and kill the process:
1) Find the port which is used by supervisor:
> ps aux |grep supervisor
2) kill the port
>sudo kill -9 <port number>
Created 10-21-2017 07:40 PM
Thank you for this excellent solution.
In my situation, I created 1 master and 4 slaves cloudera cluster using private IP with EC2 and then store then as AMI (images). I then created newinstances from these 5 AMI images, with all installations of cloudera on them.
Then I folllowed all your steps to change the IP to current private IPs.
However, when I finally check the state of the cloudera:
sudo service cloudera-scm-agent status sudo service cloudera-scm-master status both return active (exited) Then I checked the /var/log/cloudera-scm-agent/cloudera-scm-agent.log
And there are errors like this ERROR Failed to connect to previous supervisor.
ERROR Failed rack peer update: [Errno 111] Connection refused
ERROR 14794 Monitor-HostMonitor throttling_logger
ERROR Failed to collect NTP metrics
ERROR Unexpected exception during download
Do you know why this happens? ( I followed all yoursteps)
Created 10-24-2017 10:02 AM
The bits of errors provided don't tell enough of the story to indicate what may be wrong.
I would run: service cloudera-scm-agent restart and then see what happens in the agent log.
Also, what is the actual problem? What is wrong in Cloudera Manager, etc. It is unclear what you are trying to do or see and what actually happens. Once that is clarified, the community can help.
Ben
Created on 10-21-2017 07:40 PM - edited 10-21-2017 07:41 PM
Maybe I need to reinstall the cloudera manager?