scenario

  • On the gremlin command line, use the hbase back-end storage to open the diagram.
  • The HBase service is normal and HBase shell can be used to perform operations

The problem

E05: use the gremlin open figure times wrong org. Apache. The zookeeper. $NoNodeException KeeperException

Detailed error log:

java.util.concurrent.ExecutionException: org.apache.hadoop.hbase.shaded.org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /hbase/hbaseid at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357) at Java.util.concurrent.Com pletableFuture. Get (CompletableFuture. Java: 1895)... Caused by: org.apache.hadoop.hbase.shaded.org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /hbase/hbaseid at org.apache.hadoop.hbase.shaded.org.apache.zookeeper.KeeperException.create(KeeperException.java:111)Copy the code

NodeException: KeeperErrorCode = NoNode for /hbase/hbaseid

The solution

Since the ZooKeeper and hbase services are running properly, check the hbase configuration:

<property>
     <name>zookeeper.znode.parent</name>
     <value>/hbase-xxx</value>
 </property>
Copy the code

Modify the hbase – site. XML

Cluster installation users can modify HBase configurations on the management page.

It is found that the directory is not /hbase/ hbaseID, but /hbase-xxx. Zookeeper.znode. parent: /hbase: / zookeeper.znode.

The value of zookeeper.znode.parent displayed on the page is /hbase-unsecure, which is changed to /hbase.

Or a more formal way to do it

@ small kind See a parameter in website, storage. Hbase. Ext zookeeper. Znode. Parent, set the value of this parameter in the configuration file to the zookeeper. Znode. Parent the same value that can be solved!

The 2019-11-11 update

why

I do not know yet. The default configuration of hbase may be changed after the hbase upgrade.