Ambari在升级JDK的过程中,或导致ambari-agent日志中出现下面的错误
所有的节点丢失,心跳上报不上去
INFO 2020-04-30 14:13:26,046 NetUtil.py:70 - Connecting to
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.
WARNING 2020-04-30 14:13:26,052 NetUtil.py:124 - Server at
解决办法,修改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