hbase执行list命令报错:ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing

今天,可能误删了什么文件,导致在Hbase的hbase shell中执行list命令报如下错误:

hbase执行list命令报错:ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing_第1张图片

HDFS前端报错:There are 1 missing blocks The following files may be corrupted

hbase执行list命令报错:ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing_第2张图片

解决办法:

1、检查文件缺失情况:
hadoop fsck /user/hive/warehouse | grep parquet

2、删除缺失文件:
文件路径就是上面截图的那个路径:
hadoop fsck -delete /user/hive/warehouse/mid_table/part-00000-2434bd33-8a21-4249-9c0c-17e0f4ba397b-c000.snappy.parquet 

hadoop fsck -delete /user/hive/warehouse/mid_table/part-00000-5d5247ea-8efb-4d96-850f-01fd2fb94211-c000.snappy.parquet

操作截图如下:

hbase执行list命令报错:ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing_第3张图片

hbase执行list命令报错:ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing_第4张图片

你可能感兴趣的:(大数据相关)