遇到这样的一个问题,一开始以为是环境不好使,结果后来才发现环境没问题,但是这真的是一个很无语的修复方式。
[] - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
: Connection timed out: no further information
at (Native Method)
at (Unknown Source)
at (:361)
at $(:1081)
在启动zk的时候,如果仅仅是
./ start
这样启动起来之后会出现上述的问题。
切换成root进行启动
sudo ./ start