1、问题解析

在执行Region Split时,因为系统中断或者HDFS中的Region文件已经被删除。

Region的状态由master跟踪,包括以下状态:

State

Description

Offline

Region is offline

Pending Open

A request to open the region was sent to the server

Opening

The server has started opening the region

Open

The region is open and is fully operational

Pending Close

A request to close the region has been sent to the server

Closing

The server has started closing the region

Closed

The region is closed

Splitting

The server started splitting the region

Split

The region has been split by the serve

 Region在这些状态之间的迁移(transition)可以由master引发,也可以由region server引发。

2、解决方案

         2.1 使用 hbase hbck 找到哪些Region出现Error

         2.2 使用以下命令将失效的Region删除

deleteall "hbase:meta","TestTable,00000000000000000005850000,1588444012555.89e1c07384a56c77761e490ae3f34a8d."

         2.3  重启hbase即可

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐