cloudera manager 安装时候出现

 转自:http://www.aboutyun.com/forum.php?highlight=agent&mod=viewthread&tid=9293

这里只是作为一个记录,供大家参考,只要知道,使用cloudera-manager-installer.bin安装,

hostname 实际ip地址及hosts配置不一致 会出现下面情况



错误类型1:ip及host配置错误

安装出现错误:
  1. Installation failed. Failed to receive heartbeat from agent.

  2.     Ensure that the host's hostname is configured properly.
  3.     Ensure that port 7182 is accessible on the Cloudera Manager Server (check firewall rules).
  4.     Ensure that ports 9000 and 9001 are free on the host being added.
  5.     Check agent logs in /var/log/cloudera-scm-agent/ on the host being added (some of the logs can be found in the installation details).
复制代码
 
进入日志目录
  1. /var/log/cloudera-scm-agent
复制代码


查看日志错误:
error: No socket could be created on ('CDH.aboutyun.com', 9000) -- [Errno 99] Cannot assign requested address

 


解决方法:使用下面命令,查看ip及hostname对应关系
  1. python -c 'import socket; print socket.getfqdn(), socket.gethostbyname(socket.getfqdn())'
复制代码
最后发现ip与hostname配置ip不对应

错误类型2:cloudera-scm-agent启动失败

这里只有 server 的启动成功,其它两台都启动失败
 

使用命令:
  1. service cloudera-scm-agent status
复制代码
CDH1:
查看agent的状态,agent没有启动
 

CDH2:
查看agent的状态,agent没有启动
 


重启:

使用下面命令重启:
  1. service cloudera-scm-agent restart
复制代码
重启CDH1

 


重启CDH2
 



重启失败主机
 

重试.png (52.65 KB, 下载次数: 0)

下载附件  保存到相册

2014-9-30 09:07 上传


我这里重试了两此,
最后成功


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值