通过Ambari搭建HDP集群,到了ConfirmHost这一步,过不去了,求助

曲健磊的个人博客 2019-02-20 03:08:27
错误日志如下:
Command start time 2019-02-20 14:43:54
("INFO 2019-02-20 14:44:01,232 HeartbeatHandlers.py:116 - Stop event received
INFO 2019-02-20 14:44:01,232 NetUtil.py:130 - Stop event received
INFO 2019-02-20 14:44:01,232 ExitHelper.py:56 - Performing cleanup before exiting...
INFO 2019-02-20 14:44:01,232 ExitHelper.py:70 - Cleanup finished, exiting with code:0
INFO 2019-02-20 14:44:02,427 main.py:283 - Agent died gracefully, exiting.
INFO 2019-02-20 14:44:02,427 ExitHelper.py:56 - Performing cleanup before exiting...
INFO 2019-02-20 14:44:03,067 main.py:145 - loglevel=logging.INFO
INFO 2019-02-20 14:44:03,067 main.py:145 - loglevel=logging.INFO
INFO 2019-02-20 14:44:03,067 main.py:145 - loglevel=logging.INFO
INFO 2019-02-20 14:44:03,068 DataCleaner.py:39 - Data cleanup thread started
INFO 2019-02-20 14:44:03,070 DataCleaner.py:120 - Data cleanup started
INFO 2019-02-20 14:44:03,070 DataCleaner.py:122 - Data cleanup finished
INFO 2019-02-20 14:44:03,070 hostname.py:67 - agent:hostname_script configuration not defined thus read hostname 'qujianlei' using socket.getfqdn().
INFO 2019-02-20 14:44:03,105 PingPortListener.py:50 - Ping port listener started on port: 8670
INFO 2019-02-20 14:44:03,107 main.py:437 - Connecting to Ambari server at https://qujianlei:8440 (公网ip)
INFO 2019-02-20 14:44:03,107 NetUtil.py:70 - Connecting to https://qujianlei:8440/ca
ERROR 2019-02-20 14:44:03,114 NetUtil.py:96 - EOF occurred in violation of protocol (_ssl.c:618)
ERROR 2019-02-20 14:44:03,114 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions.
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
WARNING 2019-02-20 14:44:03,114 NetUtil.py:124 - Server at https://qujianlei:8440 is not reachable, sleeping for 10 seconds...
", None)


Confirm 那一步一直是failed,求牛人相助。


...全文
68089 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
1.ERROR 2019-02-20 14:44:03,114 NetUtil.py:96 - EOF occurred in violation of protocol (_ssl.c:618) 2.ERROR 2019-02-20 14:44:03,114 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions. 1.需要修改每个机器上的ambari-agent.ini文件,需要在security下面添加一行: 编辑文件:vi /etc/ambari-agent/conf/ambari-agent.ini force_https_protocol = PROTOCOL_TLSv1_2 2.看着是openssl问题 但实际上应该是python版本原因 因为python2.7.5以上的版本增加了版本验证 需要降低python版本或者关闭证书验证: vi /etc/python/cert-verification.cfg [https] verify=disable 如果python版本低于2.7.5,请尝试更新openssl

1,092

社区成员

发帖
与我相关
我的任务
社区描述
云计算服务器、网络、虚拟化相关讨论
社区管理员
  • 服务器
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧