nodetool status nodetool: Failed to connect to '127.0.0.1:7199' - URISyntaxException: 'Malformed IPv6 address at index 7: rmi://[127.0.0.1]:7199'.

nodetool status
nodetool: Failed to connect to '127.0.0.1:7199' - URISyntaxException: 'Malformed IPv6 address at index 7: rmi://[127.0.0.1]:7199'.

JDK改进的IPv6地址解析存在问题,JDK回退到原来行为,输入以下指令:

nodetool -Dcom.sun.jndi.rmiURLParsing=legacy status

 

 
posted @ 2022-06-06 21:02  只能说运气有点好  阅读(1272)  评论(0)    收藏  举报