After resolving Hbase start, hmaster will automatically turn off after a few seconds (stopped)! ! !

 

In the log (as small white me, at the beginning I do not know where the log path:! /Usr/local/hadoop/app/hbase-0.98.8/logs/hbase-hadoop-master-Master.log (also hbase is installed under the logs folder)) to find the cause of the error, as shown below:

 

 

 

Cause of the error: zookeeper link information expired

Solution: Go zookeeper delete hbase (rmr / hbase) to restart the zookeeper

Specific steps: 1. Stop hbase (./ stop-hbase.sh)

                   2, the following code Run

                         hbase org.apache.hadoop.hbase.util.hbck.OfflineMetaRepair

                   3, run the following code

                         /usr/local/hadoop/app/zookeeper-3.4.6/bin/zkCli.sh

                   4, ls / scan data to the zookeeper

                   5, using rmr / hbase delete data zookeeper in hbase

                   6, can be restarted hbase

 

Guess you like

Origin www.cnblogs.com/liuys635/p/11352487.html