美文网首页
Centos 6 Ambari升级JDK 1.8 节点丢失问题解

Centos 6 Ambari升级JDK 1.8 节点丢失问题解

作者: 张家锋 | 来源:发表于2020-04-30 16:42 被阅读0次

Ambari在升级JDK的过程中,或导致ambari-agent日志中出现下面的错误

所有的节点丢失,心跳上报不上去

INFO 2020-04-30 14:13:26,046 NetUtil.py:70 - Connecting to https://dpnode11:8440/ca

ERROR 2020-04-30 14:13:26,051 NetUtil.py:96 - [Errno 8] _ssl.c:490: EOF occurred in violation of protocol

ERROR 2020-04-30 14:13:26,052 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 2020-04-30 14:13:26,052 NetUtil.py:124 - Server at https://dpnode11:8440 is not reachable, sleeping for 10 seconds...

解决办法,修改JDK的java.security文件,找到jdk.tls.legacyAlgorithms,将3DES_EDE_CBC删掉,重启server及agent即可

jdk.tls.legacyAlgorithms= \

        K_NULL, C_NULL, M_NULL, \

        DH_anon, ECDH_anon, \

        RC4_128, RC4_40, DES_CBC, DES40_CBC, \

        3DES_EDE_CBC

相关文章

网友评论

      本文标题:Centos 6 Ambari升级JDK 1.8 节点丢失问题解

      本文链接:https://www.haomeiwen.com/subject/zthtghtx.html