solr怎么和zookeeper关联

flink58 发布于 2016/05/03 11:34
阅读 734
收藏 0
ClientCnxn:966 - Opening socket connection to server master/192.168.2.230:8983. Will not attempt to authenticate using SASL (unknown error)
2016-05-02 20:32:11 INFO  ClientCnxn:849 - Socket connection established to master/192.168.2.230:8983, initiating session
2016-05-02 20:32:11 WARN  ClientCnxn:1089 - Session 0x0 for server master/192.168.2.230:8983, unexpected error, closing socket connection and attempting reconnect
java.io.IOException: Packet len1213486160 is out of range!
	at org.apache.zookeeper.ClientCnxnSocket.readLength(ClientCnxnSocket.java:112)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:79)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:355)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2016-05-02 20:32:12 INFO  ClientCnxn:966 - Opening socket connection to server master/192.168.2.230:8983. Will not attempt to authenticate using SASL (unknown error)
2016-05-02 20:32:12 INFO  ClientCnxn:849 - Socket connection established to master/192.168.2.230:8983, initiating session
2016-05-02 20:32:12 WARN  ClientCnxn:1089 - Session 0x0 for server master/192.168.2.230:8983, unexpected error, closing socket connection and attempting reconnect
java.io.IOException: Packet len1213486160 is out of range!
	at org.apache.zookeeper.ClientCnxnSocket.readLength(ClientCnxnSocket.java:112)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:79)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:355)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2016-05-02 20:32:14 INFO  ClientCnxn:966 - Opening socket connection to server master/192.168.2.230:8983. Will not attempt to authenticate using SASL (unknown error)
2016-05-02 20:32:14 INFO  ClientCnxn:849 - Socket connection established to master/192.168.2.230:8983, initiating session
2016-05-02 20:32:14 INFO  ZooKeeper:684 - Session: 0x0 closed
2016-05-02 20:32:14 INFO  ClientCnxn:509 - EventThread shut down
org.apache.solr.common.SolrException: java.util.concurrent.TimeoutException: Could not connect to ZooKeeper 192.168.2.230:8983/solr within 10000 ms
	at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:181)
	at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:115)
	at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:105)
	at org.apache.solr.common.cloud.ZkStateReader.<init>(ZkStateReader.java:201)
	at org.apache.solr.client.solrj.impl.CloudSolrClient.connect(CloudSolrClient.java:466)
	at org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:823)
	at org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:806)
	at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:149)
	at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:173)
	at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:138)
	at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:152)
	at com.qjj.test.SolrTest.test01(SolrTest.java:43)
	at com.qjj.test.SolrTest.main(SolrTest.java:159)
Caused by: java.util.concurrent.TimeoutException: Could not connect to ZooKeeper 192.168.2.230:8983/solr within 10000 ms
	at org.apache.solr.common.cloud.ConnectionManager.waitForConnected(ConnectionManager.java:208)
	at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:173)



加载中
返回顶部
顶部