web123456

error: keeper error code = NONO's for /HBase/master

Error 2:

After building the cluster, check the table in the hbase shell and error: KeeperErrorCode = NoNode for /hbase/master

1. Check the log because zookeeper is automatically shut down after starting. Why does this problem occur? It's because the data directory in it isConfigurationUnder /tmp, this directory will be cleared regularly, so I need to change the directory, and my setting is /usr/local/work/zkdata. Restart zookeeper.

2. If the problem has not been resolved, it may be that the zookeeper setting in hbase is unsuccessful. Edit hbase-2.1.0/conf/ and add configuration:

<property>
     <name></name>
     <value>/hbase/master</value>
 </property>

Because the remote hbase configuration defaults to the /hbase path.

3. If the problem has not been resolved, it means that zookeeper has not restarted successfully. Just delete the version-2 folder generated before in the zk data directory.

4. Summary: Anyway, this problem occurs, it is not the problem of hbase itself, but the influence of zookeeper, because zookeeper is an important tool for monitoring the state of the entire hbase node and controlling the communication of hbase cluster.

Reference link:

/mod_mbox/hbase-user//%3CAANLkTikD=FmzvyBZjPg3e02KwTgAOVC2OBFSB5R9b7CD@%3E