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
FieldsModifier and TypeFieldDescriptionintprivate ArrayList<HbckErrorReporter.ERROR_CODE>(package private) Set<HbckTableInfo>private static final intprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidvoidvoidprogress()voidReport error information, but do not increment the error count.voidreportError(String message) voidreportError(HbckErrorReporter.ERROR_CODE errorCode, String message) voidreportError(HbckErrorReporter.ERROR_CODE errorCode, String message, HbckTableInfo table) voidreportError(HbckErrorReporter.ERROR_CODE errorCode, String message, HbckTableInfo table, HbckRegionInfo info) voidreportError(HbckErrorReporter.ERROR_CODE errorCode, String message, HbckTableInfo table, HbckRegionInfo info1, HbckRegionInfo info2) voidintbooleantableHasErrors(HbckTableInfo table)
-
Field Details
-
errorCount
-
showProgress
-
progressThreshold
- See Also:
-
errorTables
-
errorList
-
-
Constructor Details
-
PrintingErrorReporter
-
-
Method Details
-
clear
- Specified by:
clearin interfaceHbckErrorReporter
-
reportError
- Specified by:
reportErrorin interfaceHbckErrorReporter
-
reportError
public void reportError(HbckErrorReporter.ERROR_CODE errorCode, String message, HbckTableInfo table) - Specified by:
reportErrorin interfaceHbckErrorReporter
-
reportError
public void reportError(HbckErrorReporter.ERROR_CODE errorCode, String message, HbckTableInfo table, HbckRegionInfo info) - Specified by:
reportErrorin interfaceHbckErrorReporter
-
reportError
public void reportError(HbckErrorReporter.ERROR_CODE errorCode, String message, HbckTableInfo table, HbckRegionInfo info1, HbckRegionInfo info2) - Specified by:
reportErrorin interfaceHbckErrorReporter
-
reportError
- Specified by:
reportErrorin 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:
reportin interfaceHbckErrorReporter
-
summarize
- Specified by:
summarizein interfaceHbckErrorReporter
-
getErrorList
- Specified by:
getErrorListin interfaceHbckErrorReporter
-
print
- Specified by:
printin interfaceHbckErrorReporter
-
tableHasErrors
- Specified by:
tableHasErrorsin interfaceHbckErrorReporter
-
resetErrors
- Specified by:
resetErrorsin interfaceHbckErrorReporter
-
detail
- Specified by:
detailin interfaceHbckErrorReporter
-
progress
- Specified by:
progressin interfaceHbckErrorReporter
-