org.apache.hadoop.hbase.NotAllMetaRegionsOnlineException

 

 

如果出现 org.apache.hadoop.hbase.master.ServerManager: Waiting on regionserver(s) to checkin




hbase(main):001:0> create 'test','cf' 

ERROR: org.apache.hadoop.hbase.NotAllMetaRegionsOnlineException: org.apache.hadoop.hbase.NotAllMetaRegionsOnlineException: Timed out (10000ms)


解决方法就是,修改/etc/hosts文件,修改内容以master为例,如下所示:

#127.0.0.1 localhost 
192.168.0.180 master 
192.168.0.191 slave-01 
192.168.0.190 slave-02 
192.168.0.189 slave-03 

 

注释掉127.0.0.1  localhost

  

 

你可能感兴趣的:(exception)