Created on 03-16-2017 11:39 PM - edited 09-16-2022 04:16 AM
Hi ,
I want to add a host to cluster as a datanode.
Now i can find the host in host list and adding the New Hosts to existing Cluster.
it looks it takes time because i began it 1hours ago but it is still running.
And i can find it in the cluster with new windows even the processing is running.
Bus Health test is bad.
"This host is in contact with the Cloudera Manager Server. This host is not in contact with the Host Monitor."
How can i investigate it ?
Created 03-22-2017 07:11 PM
I installed the host again , and the problem has been fixed.
I'm not sure the reason.
Created 03-17-2017 02:40 AM
I am sorry confused here you intial problem is quote from ur post "This host is not in contact with the Host Monitor."
now you say HOST MONITOR service and other datanode (existing) is working fine - can i assume that the problem is solved or you have new problem arising .
also please share the host monitor and cm agent logs .
Created 03-20-2017 10:57 PM
Created 10-04-2017 04:04 AM
I know this is a really old post but just for knowledge I'm sharing my solution. For me the restart of the agent in the CDH None host solved the problem
sudo service cloudera-scm-agent restart
Created on 03-20-2017 10:58 PM - edited 03-20-2017 11:17 PM
I created a new ticket for this problem as a summury, but i can't find it , why?
I move it to here.
I want to add a host to existing cluster as a datanode.
But the host don't work fine as expected.
1, I confirmed status of agent and it is working fine.
cloudera-scm-agent (pid 162575) is running...
2, I restarted the cluster and CDM , the problem can't be resolve.
3, I stopped agent and add the host and restart agent again , the problem can't be resolve also.
Looking forward to your response.
And please let me know if you want more info.
Thanks,
Wenjie
Created 03-22-2017 07:11 PM
I installed the host again , and the problem has been fixed.
I'm not sure the reason.
Created 03-22-2017 07:49 PM
sounds good .
Created 08-10-2017 07:56 AM
We are facing the same issue. What steps did you follow to install the host again?
Created 08-10-2017 10:11 PM
Could you share any error logs or screenshot ? where are you facing the issue ?
Were you able to see the CDH version in the Host summary ?
Created 08-11-2017 06:56 AM
Hi
Hi,
I removed 2 nodes from the cluster and tried to add them back from managed hosts and the download , distribute is successful but stuck at the activation.
But the 2 nodes got added to the cluster and show up in the hosts but CDH version is NONE.(Host in bad health)
Host Agent status:
Error in the cloudera-scm-agent
Caught unexpected exception in main loop. Traceback (most recent call last): File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.9.0-py2.7.egg/cmf/agent.py", line 758, in start self._init_after_first_heartbeat_response(resp_data) File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.9.0-py2.7.egg/cmf/agent.py", line 938, in _init_after_first_heartbeat_response self.client_configs.load() File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.9.0-py2.7.egg/cmf/client_configs.py", line 686, in load new_deployed.update(self._lookup_alternatives(fname)) File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.9.0-py2.7.egg/cmf/client_configs.py", line 432, in _lookup_alternatives return self._parse_alternatives(alt_name, out) File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.9.0-py2.7.egg/cmf/client_configs.py", line 444, in _parse_alternatives path, _, _, priority_str = line.rstrip().split(" ") ValueError: too many values to unpack |
Could you please help me with this?
Created 08-23-2017 03:03 PM
This issue in RHEL 7.3
1. We edited the /usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.9.0-py2.7.egg/cmf/client_configs.py file
2. Searched for "path, _" and line no 444
3. commented out the #path, _, _, priority_str = line.rstrip().split(" ") line.
4. Added three lines and add one tab at the beginning to match the other lines in the file:
thisLine = line.rstrip().split(" ")
path = thisLine[0]
priority_str = thisLine[-1]
5. The end result should look like:
#path, _, _, priority_str = line.rstrip().split(" ")
thisLine = line.rstrip().split(" ")
path = thisLine[0]
priority_str = thisLine[-1]
6 Restarted the agent:
sudo service cloudera-scm-agent restart
It started working
Thanks
Narendar