Reply
New Contributor
Posts: 3
Registered: ‎04-21-2014

NoNode for /clusterstate.json Error while using HBase Lily Indexer as a Service

I have configured the HBase Lily Indexing as a service in Cloudera. Although whenever I update any cell value in Hbase the event fired to update the index in SOLR fails and results in the following error:

 

machine1.domain.com        ERROR    April 21 2014 5:28 AM       SepEventExecutor                

 

Error while processing event

java.lang.RuntimeException: org.apache.solr.common.cloud.ZooKeeperException:

                at com.ngdata.hbaseindexer.indexer.IndexingEventListener.processEvents(IndexingEventListener.java:87)

                at com.ngdata.sep.impl.SepEventExecutor$1.run(SepEventExecutor.java:97)

                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

                at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

                at java.util.concurrent.FutureTask.run(FutureTask.java:138)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

                at java.lang.Thread.run(Thread.java:662)

Caused by: org.apache.solr.common.cloud.ZooKeeperException:

                at org.apache.solr.client.solrj.impl.CloudSolrServer.connect(CloudSolrServer.java:160)

                at org.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrServer.java:177)

                at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)

                at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:68)

                at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:54)

                at com.ngdata.hbaseindexer.indexer.DirectSolrInputDocumentWriter.add(DirectSolrInputDocumentWriter.java:104)

                at com.ngdata.hbaseindexer.indexer.Indexer.indexRowData(Indexer.java:140)

                at com.ngdata.hbaseindexer.indexer.IndexingEventListener.processEvents(IndexingEventListener.java:84)

                ... 7 more

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:411)

                at org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:65)

                at org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:408)

                at org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:365)

                at org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:352)

                at org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:339)

                at org.apache.solr.common.cloud.ZkCmdExecutor.ensureExists(ZkCmdExecutor.java:96)

                at org.apache.solr.common.cloud.ZkCmdExecutor.ensureExists(ZkCmdExecutor.java:86)

                at org.apache.solr.common.cloud.ZkStateReader.createClusterStateWatchersAndUpdate(ZkStateReader.java:196)

                at org.apache.solr.client.solrj.impl.CloudSolrServer.connect(CloudSolrServer.java:153)

                ... 14 more

 

I have recreated the SOLR cores as well as recently upgraded to CDH 4.8.2 as there was a bug in 4.7 due to another error stack.

Can anyone help how to resolve this problem ?

 

Regards

Anupam

New Contributor
Posts: 1
Registered: ‎05-29-2017

Re: NoNode for /clusterstate.json Error while using HBase Lily Indexer as a Service

same issue here.

When i use "data node" &remote zookeeper, recive same issue

Highlighted
Cloudera Employee
Posts: 7
Registered: ‎06-10-2015

Re: NoNode for /clusterstate.json Error while using HBase Lily Indexer as a Service

It looks like you've not specified a Solr URI properly.  Normally they include the Zookeeper "chroot" where Solr keeps its metadata, /solr by default.  Check your configuration and make sure you specify something like:

 

  solrhost.example.com:8983/solr

 

The giveaway is the exception - I see ZK complaining about not finding /clusterstate.json and you'd normally expect this to be located at /solr/clusterstate.json.

 

Nick

Announcements