Error background:
cloudera-scm-agent can start and survive, but jps has no process.
Error report phenomenon:
View the error log: /opt/cm-5.15.1/log/cloudera-scm-agent/cloudera-scm-agent.log
[ 29 /Apr/ 2019 14 : 27 : 52 + 0000 ] 10528 MainThread throttling_logger INFO ( 14 skipped) Identified java component java8 with full version java version " 1.8.0_191 " Java(TM) SE Runtime Environment (build 1.8 .0_191-b12 ) Java HotSpot(TM) 64 -Bit Server VM (build 25.191 -b12, mixed mode) for requested version. [ 29 /Apr/ 2019 14 : 33 : 53 + 0000 ] 10528 MainThread agent ERROR Heartbeating to master: 7182 failed. Traceback (most recent call last ): File " /opt/cm-5.15.1/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.15.1-py2.7.egg/cmf/agent.py " , line 1441 , in _send_heartbeat response = self.requestor.request( ' heartbeat ' , heartbeat_data) File " /opt/cm-5.15.1/lib64/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py " , line 141 , in request return self.issue_request(call_request, message_name, request_datum) File " /opt/cm-5.15.1/lib64/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py " , line 254 , in issue_request call_response = self.transceiver.transceive ( call_request ) File " /opt/cm-5.15.1/lib64/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py " , line 483 , in transceive result = self.read_framed_message() File " /opt/cm-5.15.1/lib64/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py " , line 487 , in read_framed_message response = self.conn.getresponse() File " /usr/lib64/python2.7/httplib.py " , line 1113 , in getresponse response.begin() File " /usr/lib64/python2.7/httplib.py " , line 444 , in begin version, status, reason = self._read_status() File " /usr/lib64/python2.7/httplib.py " , line 408 , in _read_status raise BadStatusLine(line) BadStatusLine: '' [ 29 /Apr/ 2019 14 : 34 : 08 + 0000 ] 10528 MainThread agent ERROR Heartbeating to master: 7182 failed. Traceback (most recent call last ): File " /opt/cm-5.15.1/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.15.1-py2.7.egg/cmf/agent.py " , line 1435 , in _send_heartbeat self.master_port) File " /opt/cm-5.15.1/lib64/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py " , line 469 , in __init__ self.conn.connect() File " /usr/lib64/python2.7/httplib.py " , line 824 , in connect self.timeout, self.source_address) File " /usr/lib64/python2.7/socket.py " , line 571 , in create_connection raise err error: [Errno 111 ] Connection refused [ 29 /Apr/ 2019 14 : 34 : 08 + 0000 ] 10528 MainThread agent INFO Stopping agent...
Reason for error:
Error message: ERROR Heartbeating to master: 7182 failed.
Error explanation: failed to send heartbeat detection to the designated port 7180 of the master node.
When the Agent is started for the first time, it will generate a uuid with the path:, /opt/cm-5.1.3/lib/cloudera-scm-agent/uuid
if the uuid of the Agent on each machine is the same, an error will be reported.
Error resolution:
Enter the directory: cd /opt/cm-5.15.1/lib/cloudera-scm-agent/
Delete uuid: rm -rf uuid
Restart the agent: /opt/cm-5.15.1/etc/init.d/cloudera-scm-agent restart
Read More:
- [Solved] docker failed to solve: failed to solve with frontend dockerfile.v0: failed to create LLB definition
- How to Solve Springboot Error: Failed to convert value of type
- How to Solve Application failed to start error
- How to Solve Git Error: error: failed to push some refs to……
- How to Solve Logstash error: failed to execute action
- How to Solve Error: Failed to load ApplicationContext
- How to Solve Error: failed to load response
- How to Solve MVC Error: Build failed.
- How to Solve Hyperf Failed to Start Error After Aliyun ACM Installed
- How to Solve Docker failed to initialize Error
- How to Solve Loadrunner Error: Failed to find .cfg file
- How to Solve Rabbitmq Error: Failed to start RabbitMQ broker
- How to Solve error: command ‘C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin\nvcc.exe‘ failed
- How to Solve Import antd Error: Module build failed
- Internalerror: GPU sync failed error (How to Solve)
- How to Solve Error: could not read ok from ADB Server.failed to start daemon error: cannot connect to daemon
- Git pull and Git pull origin master Warning: Pulling without specifying how to reconcile divergent branches
- How to Solve Chrome Error: net::ERR_FAILED
- How to Solve NPM update check failed Error
- How to Solve ModuleNotFoundError: No module named ‘_bz2‘