Class HBCKServerCrashProcedure.UnknownServerVisitor
java.lang.Object
org.apache.hadoop.hbase.master.procedure.HBCKServerCrashProcedure.UnknownServerVisitor
- All Implemented Interfaces:
ClientMetaTableAccessor.Visitor
- Enclosing class:
- HBCKServerCrashProcedure
private static final class HBCKServerCrashProcedure.UnknownServerVisitor
extends Object
implements ClientMetaTableAccessor.Visitor
Visitor for hbase:meta that 'fixes' Unknown Server issues. Collects a List of Regions to
reassign as 'result'.
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Connection
private final List<RegionInfo>
private final ServerName
-
Constructor Summary
ModifierConstructorDescriptionprivate
UnknownServerVisitor
(Connection connection, ServerName unknownServerName) -
Method Summary
-
Field Details
-
reassigns
-
unknownServerName
-
connection
-
-
Constructor Details
-
UnknownServerVisitor
-
-
Method Details
-
visit
Description copied from interface:ClientMetaTableAccessor.Visitor
Visit the catalog table row.- Specified by:
visit
in interfaceClientMetaTableAccessor.Visitor
- Parameters:
result
- A row from catalog table- Returns:
- True if we are to proceed scanning the table, else false if we are to stop now.
- Throws:
IOException
-
getReassigns
-