我正在尝试在 Cloudera 集群上使用 HBase。HBase 已启动并正常运行,但是当我尝试进入 HBase shell 并创建一个新表时:
create 'test', 'cf1'
我收到以下错误:
Table Namespace Manager not ready yet
Cloudera Manager 不会发出有关 HBase 集群运行状况的信号。无论如何,如果我在 Cloudera Manager 上检查 HBase 日志,我会发现很多错误,如下所示:
Can't open after 24 attempts and 310225ms for hdfs://hmaster:8020/hbase/WALs/slave8,60020,1416510428414-splitting/slave8%2C60020%2C1416510428414.1416510442205
或者:
Caught throwable while processing event M_SERVER_SHUTDOWN
java.io.IOException: failed log splitting for slave8,60020,1416510428414, will retry
at org.apache.hadoop.hbase.master.handler.ServerShutdownHandler.resubmit(ServerShutdownHandler.java:330)
at org.apache.hadoop.hbase.master.handler.ServerShutdownHandler.process(ServerShutdownHandler.java:210)
at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:128)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: error or interrupted while splitting logs in [hdfs://hmaster:8020/hbase/WALs/slave8,60020,1416510428414-splitting] Task = installed = 1 done = 0 error = 1
at org.apache.hadoop.hbase.master.SplitLogManager.splitLogDistributed(SplitLogManager.java:360)
at org.apache.hadoop.hbase.master.MasterFileSystem.splitLog(MasterFileSystem.java:416)
at org.apache.hadoop.hbase.master.MasterFileSystem.splitLog(MasterFileSystem.java:390)
at org.apache.hadoop.hbase.master.MasterFileSystem.splitLog(MasterFileSystem.java:288)
at org.apache.hadoop.hbase.master.handler.ServerShutdownHandler.process(ServerShutdownHandler.java:203)
... 4 more
我的集群有什么问题?