zook 报错 Unable to read additional data from server sessionid 0x0

zook报错启动报错:

2017-09-25 18:33:46,913 - INFO  [main-SendThread(localhost:2181):[email protected]] - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

问题排查:

配置的超时时间太短,Zookeeper没有读完Consumer的数据,连接就被Consumer断开了!

  其中有一个进程启动后不久就自己挂掉了。

查看发现

zook2/data/myid中的值与zook2/conf/zoo.cfg中的值不一样

server.1=localhost:2287:3387

server.2=localhost:2288:3388

server.3=localhost:2289:3389

~~~~~~~~~~~~~~~~~~~

配置为一样之后,问题解决。

时间: 2024-10-13 17:22:20

zook 报错 Unable to read additional data from server sessionid 0x0的相关文章

Unable to read additional data from server sessionid 0x0

今天在本机安装了三个zookeeper,分别为server1,server2,server3. tickTime=2000 initLimit=5 syncLimit=2 dataDir=/Users/google/Work/Program/zookeeper/server1/zookeeper-3.4.6/data dataLogDir=/Users/google/Work/Program/zookeeper/server1/zookeeper-3.4.6/logs clientPort=40

zookeeper报Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect的解决

现象 服务器连不上,kafka报connection refused 测试发现kafka某台node(xx)的问题,登录上去也各种错误,zkServer.sh restart可以完成,但status报连不上.报错比较迷惑人,打开java log看到其他错误: [myid:3] - INFO [ListenerThread:[email protected]534] - My election bind port: /yy:3888 java.net.BindException: Cannot a

Zookeeper:Unable to read additional data from client sessionid 0x00, likely client has closed socket

异常信息: 2018-03-20 23:34:01,887 [myid:99] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:[email protected]] - Accepted socket connection from /10.121.82.229:33749 2018-03-20 23:34:01,887 [myid:99] - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:[e

【hbase】Unable to read additional data from client sessionid 0x15c92bd1fca0003, likely client has closed socket

启动hbase ,验证出错 Master is initializing 查看zk日志,发现Unable to read additional data from client sessionid 0x15c92bd1fca0003, likely client has closed socket

SQL Developer 4.0 启动报错“unable to create an instance of the java virtual machine located at path”

安装了Oracle之后,第一件事情就是想想怎么去连接,进而操作.SQL Developer是官方提供的强大工具,个人看来也是第一选择. 目前官网提供的最新版是4.0.1.14.48,下载下来之后,就跃跃欲试了.将下载下来的包解压,直接运行sqldeveloper.exe这个文件,选择了本地安装的JDK路径,之后却不幸的报错了,提示"unable to create an instance of the java virtual machine located at path",具体界面

ORACLE 11G收缩表空间报错 ORA-03297: file contains used data beyondrequested RESIZE value

测试环境磁盘空间不足,所以drop一些无用的大表,但是发现空间没有变化,df -h还是没有释放出磁盘空间来. SQL> set line 200 SQL> set pagesize 200 SQL> col name format A150 1,查看表空间使用情况 SQL> SELECTUPPER(F.TABLESPACE_NAME) "表空间名", 2 D.TOT_GROOTTE_MB "表空间大小(M)", 3 D.TOT_GROOTTE

CentOS7图形界面启动报错unable to connect to X server

以前还可以正常启动图形界面,这次启动失败,报错unable to connect to X server 使用的是oracle用户,因为我是在oracle用户下创建的oracle数据库等 解决办法: 在/var/run/console/下touch oracle生成oracle文件,重新startx启动就可以了

【原创】JSTL报错Unable to read TLD "META-INF/c.tld" from JAR file "file.............................

**********菜鸟的福利^_^************ 我用的是jstl-1.2.jar,网上很多说法是删掉工程lib下面的两个jar包,那是之前的老版本,现在整合成一个了. 我出现这个问题的原因:我把jstl-1.2.jar下载到了我的工程目录下:E:\myeclipse10\JSPDemo,然后又将jstl-1.2.jar复制到了工程的lib文件夹下,这样就相当于工程中有了两个jstl-1.2.jar包(可以在myeclipse目录结构中清楚的看到),当我把下载的jstl-1.2.ja

C# 解决SharpSvn启动窗口报错 Unable to connect to a repository at URL 'svn://....'

在远程机打开sharpsvn客户端测试,结果报错 Svn启动窗口报错 Unable to connect to a repository at URL 'svn://...' 咋整,我在win10我的开发环境上没报错啊, 一时间各种的想象, 昨天先是svn客户端不能再win7上运行,后来编译平台换成X86模式,sharpsvn.dll 换成x86,问题解决 .注意:必须删除原先生成的bin文件,当时我只删除了exe文件,结果还是报错,debug 模式和 Release 都要换到x86 . 接着点