Created on 09-13-2016 03:51 AM - edited 09-16-2022 03:39 AM
One of my agents failed to report to the cloudera server. I am using the same config.ini as other agents.
It gives the following error upon start
service cloudera-scm-agent start Starting cloudera-scm-agent (via systemctl): Job for cloudera-scm-agent.service failed because the control process exited with error code. See "systemctl status cloudera-scm-agent.service" and "journalctl -xe" for details. [FAILED]
The Python version being used by the CM agent does not seem to match with the installed version
/usr/lib64/cmf/agent/build/env/bin/python Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Python 2.6.6 (r266:84292, Aug 25 2010, 09:58:24) [GCC 4.5.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> python --version Python 2.7.5
Am I looking in the right direction?
Created 09-20-2016 08:41 AM
Created 09-14-2016 02:12 AM
Did you try to remove and add node from the cluster?
Created 09-19-2016 10:24 AM
Hi,
I wonder if you have the right agent package installed for your OS.
- What is your OS version?
- What is the rpm -qa |grep cloudera output?
If you are on an OS that ships with python 2.7 natively, then the agent's virtual environment should also support that version.
Ben
Created 09-19-2016 11:00 AM
Created 09-20-2016 08:41 AM