solr 错误异常

云原生 发布于 2016/05/03 10:47
阅读 823
收藏 0
solr  错误异常


connectString=http://192.168.2.44:8983/solr sessionTimeout=10000 watcher=org.apache.solr.common.cloud.SolrZkClient$3@566776ad
org.apache.solr.common.SolrException: java.lang.IllegalArgumentException: Invalid path string "//192.168.2.44:8983/solr" caused by empty node name specified @1
	at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:169)
	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.query(SolrClient.java:942)
	at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:957)
	at com.qjj.test.SolrTest.test05(SolrTest.java:117)
	at com.qjj.test.SolrTest.main(SolrTest.java:160)
Caused by: java.lang.IllegalArgumentException: Invalid path string "//192.168.2.44:8983/solr" caused by empty node name specified @1
	at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:99)
	at org.apache.zookeeper.client.ConnectStringParser.<init>(ConnectStringParser.java:57)
	at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:443)
	at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:380)
	at org.apache.solr.common.cloud.SolrZooKeeper.<init>(SolrZooKeeper.java:43)
	at org.apache.solr.common.cloud.ZkClientConnectionStrategy.createSolrZooKeeper(ZkClientConnectionStrategy.java:103)
	at org.apache.solr.common.cloud.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:37)
	at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:144)
	... 11 more



加载中
返回顶部
顶部