HBase 表迁移中对丢失的表检查使用的语句

在进行表检查时报错:

org.apache.hadoop.hbase.TableNotFoundException: ods_matchinfo

改表丢失了

报错的表删除,执行hbase hbck -fixMeta

hbase hbck –fixAssignments 直到都没有报错。

解决命令如下:

hdfs dfs –rmr /hbases/data/default/Tabel

hbase hbck -fixMeta

hbase hbck -fixAssignments

原文地址:https://www.cnblogs.com/sunt9/p/6670505.html