lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Purohit, Sumit" <Sumit.Puro...@pnnl.gov>
Subject NoNode for /clusterstate.json in solr5.0.0 cloud
Date Mon, 30 Mar 2015 20:12:33 GMT
I have a basic Solr 5.0.0 cloud setup after following http://lucene.apache.org/solr/quickstart.html

I am trying to read data from spark and index it into solr using following lib:
https://github.com/LucidWorks/spark-solr

I am getting following error when my code try to make request to solr


Exception in thread "main" org.apache.spark.SparkException: Job aborted due to stage failure:
Task 0 in stage 0.0 failed 1 times, most recent failure: Lost task 0.0 in stage 0.0 (TID 0,
localhost): org.apache.solr.common.cloud.ZooKeeperException:

at org.apache.solr.client.solrj.impl.CloudSolrClient.connect(CloudSolrClient.java:465)

.............

..............

..............

Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode
for /clusterstate.json

at org.apache.zookeeper.KeeperException.create(KeeperException.java:111)

at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)

at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)

at org.apache.solr.common.cloud.SolrZkClient$10.execute(SolrZkClient.java:500)



I am not sure how (and when) to create nodes for "/clusterstate.json"

I am using solr 5.0.0, sorlj5.0.0 spark-core_2.10_2.12.jar



Thanks for the help.

Sumit Purohit


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message