New Contributor
Posts: 1
Registered: ‎05-11-2017

hbase shell error



when I am trying to execute commands list or list_namespace in hbase shell, I am getting following error. I am using cloudera-quickstart-vm-



hbase(main):001:0> list

ERROR: org.apache.hadoop.hbase.ipc.ServerNotRunningYetException: Server is not running yet
    at org.apache.hadoop.hbase.master.HMaster.checkServiceStarted(
    at org.apache.hadoop.hbase.master.MasterRpcServices.isMasterRunning(
    at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(
    at org.apache.hadoop.hbase.ipc.RpcExecutor$
    at org.apache.hadoop.hbase.ipc.RpcExecutor$

Here is some help for this command:
List all tables in hbase. Optional regular expression parameter could
be used to filter the output. Examples:

  hbase> list
  hbase> list 'abc.*'
  hbase> list 'ns:abc.*'
  hbase> list 'ns:.*'




On executing sudo jps shows the following:

[cloudera@quickstart ~]$ sudo jps
8011 Bootstrap
10597 Jps
6706 RunJar
5619 SecondaryNameNode
7805 Bootstrap
6100 ResourceManager
5290 DataNode
7106 Bootstrap
5395 JournalNode
6599 RunJar
5803 JobHistoryServer
8075 -- process information unavailable
8038 -- process information unavailable
6384 RESTServer
5484 NameNode
9969 HMaster
5214 QuorumPeerMain
6519 ThriftServer
10180 HRegionServer
7132 HistoryServer
5747 Bootstrap
5886 NodeManager


I have executed following commands to see if the issue can be fixed but the issue is still there.

sudo service hbase-master restart

sudo service hbase-regionserver restart


Can you please guide to resolve the issue?


Posts: 739
Registered: ‎05-16-2016

Re: hbase shell error

you might have a corrupt metadata . 

Stop the hbase server  and run the metarepair 

Read as to what it does before run the below 

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