码迷,mamicode.com
首页 > 其他好文 > 详细

客户端 cloudera-scm-agent启动报错

时间:2015-07-03 00:32:17      阅读:3735      评论:0      收藏:0      [点我收藏+]

标签:客户端 cloudera-scm-agent启动报错

环境

cloudera 5.4.1

CentOS release 6.6 x64


报错


[02/Jul/2015 04:03:31 +0000] 18593 MainThread agent        ERROR    Heartbeating to localhost:7182 failed.

Traceback (most recent call last):

  File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 975, in send_heartbeat

    self.master_port)

  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 464, in __init__

    self.conn.connect()

  File "/usr/lib64/python2.6/httplib.py", line 720, in connect

    self.timeout)

  File "/usr/lib64/python2.6/socket.py", line 567, in create_connection

    raise error, msg

error: [Errno 111] Connection refused

[02/Jul/2015 04:04:31 +0000] 18593 MainThread agent        ERROR    Heartbeating to localhost:7182 failed.

Traceback (most recent call last):

  File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 975, in send_heartbeat

    self.master_port)

  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/avro-1.6.3-py2.6.egg/avro/ipc.py", line 464, in __init__

    self.conn.connect()

  File "/usr/lib64/python2.6/httplib.py", line 720, in connect

    self.timeout)

  File "/usr/lib64/python2.6/socket.py", line 567, in create_connection

    raise error, msg

error: [Errno 111] Connection refused


解决:

修改客户端 /etc/cloudera-scm-agent/config.ini配置文件中service_host 为cloudera_server地址或者主机名并开启server端口7182

如:server_host=172.16.1.249

本文出自 “虫子” 博客,请务必保留此出处http://worms.blog.51cto.com/969144/1670281

客户端 cloudera-scm-agent启动报错

标签:客户端 cloudera-scm-agent启动报错

原文地址:http://worms.blog.51cto.com/969144/1670281

(1)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!