Support Questions
Find answers, ask questions, and share your expertise

HBase-Indexer KeeperErrorCode NoNode = /hbase/master

HBase-Indexer KeeperErrorCode NoNode = /hbase/master

Explorer

I am trying to index an HBase table, used to store streaming data, into Solr using the HBase-indexer. I followed these tutorials.

https://community.hortonworks.com/articles/1181/hbase-indexing-to-solr-with-hdp-search-in-hdp-23.htm...

https://doc.lucidworks.com/lucidworks-hdpsearch/2.3/Guide-Install.html#_hdp-2-3-or-2-4

https://doc.lucidworks.com/lucidworks-hdpsearch/2.3/Guide-Jobs.html#_how-the-hbase-indexer-works

and had the collection created, the HBase table populated, the HBase-indexer running, and the indexer deployed and running properly.

When I execute: /opt/lucidworks-hdpsearch/hbase-indexer/bin/hbase-indexer replication-status -z Zookeeper-IP:2181

I get this exception.

Exception in thread "main" org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /hbase/master

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

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

at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1155)

at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1184)

at com.ngdata.sep.util.zookeeper.ZooKeeperImpl.getData(ZooKeeperImpl.java:238)

at com.ngdata.sep.tools.monitoring.ReplicationStatusRetriever.getHBaseConf(ReplicationStatusRetriever.java:94)

at com.ngdata.sep.tools.monitoring.ReplicationStatusRetriever.<init>(ReplicationStatusRetriever.java:79)

at com.ngdata.sep.tools.monitoring.ReplicationStatusCli.run(ReplicationStatusCli.java:68)

at com.ngdata.sep.tools.monitoring.ReplicationStatusCli.main(ReplicationStatusCli.java:32)

and I can't seem to find any way to get the HBase table data indexed into Solr. The HBase-Indexer is not throwing any exceptions and the logs folder under opt/lucidworks-hdpsearch/hbase-indexer/logs is empty.

I am currently stale and I do not know what should the next step be.

I would appreciate any help you can provide to solve this issue.

4 REPLIES 4

Re: HBase-Indexer KeeperErrorCode NoNode = /hbase/master

It seems the zookeeper parent znode might be wrong. Can you check what is the value of zookeeper.znode.parent property in hbase-site.xml

Have you copied the hbase-site.xml file from /etc/hbase/conf to /opt/lucidworks-hdpsearch/hbase-indexer/conf?

Re: HBase-Indexer KeeperErrorCode NoNode = /hbase/master

Explorer

I did copy the hbase-site.xml from HBase to HBase-indexer and the value for it is.

<property>

<name>zookeeper.znode.parent</name>

<value>/hbase-unsecure</value>

</property>

One interesting thing I just tried.

When I perform this command: http://<solr-server>:8983/solr/<collection>/update?commit=true

then I go back to my collection and query: http://<solr-server>:8983/solr/#/<collection>/query

I see the total number of records incrementing and new records coming in. But they do not increase unless I execute the update?commit=true again. This is not convenient since I want it to auto update/commit so I can built a dashboard on it.

Any suggestions?

Re: HBase-Indexer KeeperErrorCode NoNode = /hbase/master

Explorer

Anyone has an answer for me please? I am stuck and can't make any progress.

Re: HBase-Indexer KeeperErrorCode NoNode = /hbase/master

Explorer

Anyone had encountered this error please?