Class HBCKServerCrashProcedure.UnknownServerVisitor
java.lang.Object
org.apache.hadoop.hbase.master.procedure.HBCKServerCrashProcedure.UnknownServerVisitor
- All Implemented Interfaces:
MetaTableAccessor.Visitor
- Enclosing class:
- HBCKServerCrashProcedure
private static class HBCKServerCrashProcedure.UnknownServerVisitor
extends Object
implements MetaTableAccessor.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:MetaTableAccessor.Visitor
Visit the catalog table row.- Specified by:
visit
in interfaceMetaTableAccessor.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
-