重装hbase后导致出险问题:
hbase(main):007:0> create 'test_t2','f1' ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing at org.apache.hadoop.hbase.master.HMaster.checkInitialized(HMaster.
Master startup cannot progress, in holding-pattern until region onlined.
hbase 元数据有问题,尝试删除 hdfs上的/hbase/* 但是无效
查看hbase在zk的元数据:
[zk: localhost:2181(CONNECTED) 21] ls /hbase/
meta-region-server rs splitWAL backup-masters table-lock flush-table-proc master-maintenance online-snapshot switch master
running draining namespace hbaseid table
删除 online-snapshot ,master-maintenance,running 等后重启hbase