Package org.apache.hadoop.hbase.util
Class HBaseFsck.PrintingErrorReporter
java.lang.Object
org.apache.hadoop.hbase.util.HBaseFsck.PrintingErrorReporter
- All Implemented Interfaces:
HbckErrorReporter
- Enclosing class:
- HBaseFsck
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.util.HbckErrorReporter
HbckErrorReporter.ERROR_CODE
-
Field Summary
Modifier and TypeFieldDescriptionint
private ArrayList<HbckErrorReporter.ERROR_CODE>
(package private) Set<HbckTableInfo>
private static final int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
void
void
progress()
void
Report error information, but do not increment the error count.void
reportError
(String message) void
reportError
(HbckErrorReporter.ERROR_CODE errorCode, String message) void
reportError
(HbckErrorReporter.ERROR_CODE errorCode, String message, HbckTableInfo table) void
reportError
(HbckErrorReporter.ERROR_CODE errorCode, String message, HbckTableInfo table, HbckRegionInfo info) void
reportError
(HbckErrorReporter.ERROR_CODE errorCode, String message, HbckTableInfo table, HbckRegionInfo info1, HbckRegionInfo info2) void
int
boolean
tableHasErrors
(HbckTableInfo table)
-
Field Details
-
errorCount
-
showProgress
-
progressThreshold
- See Also:
-
errorTables
-
errorList
-
-
Constructor Details
-
PrintingErrorReporter
-
-
Method Details
-
clear
- Specified by:
clear
in interfaceHbckErrorReporter
-
reportError
- Specified by:
reportError
in interfaceHbckErrorReporter
-
reportError
public void reportError(HbckErrorReporter.ERROR_CODE errorCode, String message, HbckTableInfo table) - Specified by:
reportError
in interfaceHbckErrorReporter
-
reportError
public void reportError(HbckErrorReporter.ERROR_CODE errorCode, String message, HbckTableInfo table, HbckRegionInfo info) - Specified by:
reportError
in interfaceHbckErrorReporter
-
reportError
public void reportError(HbckErrorReporter.ERROR_CODE errorCode, String message, HbckTableInfo table, HbckRegionInfo info1, HbckRegionInfo info2) - Specified by:
reportError
in interfaceHbckErrorReporter
-
reportError
- Specified by:
reportError
in interfaceHbckErrorReporter
-
report
Report error information, but do not increment the error count. Intended for cases where the actual error would have been reported previously.- Specified by:
report
in interfaceHbckErrorReporter
-
summarize
- Specified by:
summarize
in interfaceHbckErrorReporter
-
getErrorList
- Specified by:
getErrorList
in interfaceHbckErrorReporter
-
print
- Specified by:
print
in interfaceHbckErrorReporter
-
tableHasErrors
- Specified by:
tableHasErrors
in interfaceHbckErrorReporter
-
resetErrors
- Specified by:
resetErrors
in interfaceHbckErrorReporter
-
detail
- Specified by:
detail
in interfaceHbckErrorReporter
-
progress
- Specified by:
progress
in interfaceHbckErrorReporter
-