我正在尝试在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
我的群集出了什么问题?