LucienChen_X
LucienChen_X
采纳率0%
2017-10-21 07:38 阅读 2.2k

solr集群上传配置文件给zookeeper时报错,求助!在线等,挺急的~

使用solr 提供的zkcli.sh上传配置文件给zookeeper时会报错,代码如下:

./zkcli.sh -zkhost 10.211.55.6:2181,10.211.55.6:2182,10.211.55.6:2183 -cmd upconfig -confdir /usr/local/solr_cloud/solr_home8082/collection1/conf -confname newconf

异常信息如下:

WARN - 2017-10-21 15:29:33.663; org.apache.zookeeper.
ClientCnxn$SendThread; Session 0x25f3dd627c20000 for server 10.211.55.6/10.211.55.6:2182,
unexpected error, closing socket connection and attempting reconnect
java.io.IOException: 断开的管道
at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:117)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:366)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
INFO - 2017-10-21 15:29:33.766; org.apache.solr.common.cloud.ConnectionManager;
Watcher org.apache.solr.common.cloud.ConnectionManager@a570f name:ZooKeeperConnection Watcher:10.211.55.6:2181,10.211.55.6:2182,10.211.55.6:2183 got event WatchedEvent state:
Disconnected type:None path:null path:null type:None
INFO - 2017-10-21 15:29:33.767; org.apache.solr.common.cloud.ConnectionManager; zkClient has disconnected

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • sun898816 sun898816 2017-10-22 00:49

    缺少jar包 或者是配置文件错误

    点赞 评论 复制链接分享

相关推荐