hbase启动慢
hbase启动非常慢,要几个小时,查看日志,发现有如下异常信息:
2016-12-02 22:39:09,365 ERROR [RS_LOG_REPLAY_OPS-db-dn001:60020-1] wal.HLogFactory
: Can't open after 24 attempts and 310206ms for hdfs://mycluster/hbase/WALs/db-dn
003.inc.mtime.com,60020,1480536673700-splitting/db-dn003.inc.mtime.com%2C60020%2C1
480536673700.1480621616017
2016-12-02 22:39:09,366 WARN [RS_LOG_REPLAY_OPS-db-dn001:60020-1] regionserver.Sp
litLogWorker: log splitting of WALs/db-dn003.inc.mtime.com,60020,1480536673700-spl
itting/db-dn003.inc.mtime.com%2C60020%2C1480536673700.1480621616017 failed, return
ing error
于是将提示的文件删除(mv到tmp目录下):几分钟就启动完成了。
-rw-r--r-- 3 hbase hadoop 83 2016-12-02 03:29 /tmp/db-dn000.inc.mtime.com%2C60020%2C1480535873711.1480620555069
-rw-r--r-- 3 hbase hadoop 83 2016-12-02 03:22 /tmp/db-dn002.inc.mtime.com%2C60020%2C1480539820162.1480620125695
-rw-r--r-- 3 hbase hadoop 83 2016-12-02 03:46 /tmp/db-dn003.inc.mtime.com%2C60020%2C1480536673700.1480621616017