运维问题收集
HDFS曾经写满,启动HMaster就会出现如下报错。目前解决是把HDFS目录下的splitting删了。
Caused by: java.io.IOException: error or interrupted while splitting logs in [hdfs://:8020/hbase/WALs/bar,60020,1463108975915-splitting]
HBase Master的WebUI出现如下状况,要查看RegionServer的日志是否有问题。
hbase:meta, state=FAILED_OPEN
org.apache.hadoop.hdfs.BlockMissingException: Could not obtain block
如果如上块坏掉的错误,HDFS执行如下命令清理坏块
hdfs fsck -delete