static class HBaseFsck.PrintingErrorReporter extends Object implements HbckErrorReporter
HbckErrorReporter.ERROR_CODE| Modifier and Type | Field and Description |
|---|---|
int |
errorCount |
private ArrayList<HbckErrorReporter.ERROR_CODE> |
errorList |
(package private) Set<HbckTableInfo> |
errorTables |
private static int |
progressThreshold |
private int |
showProgress |
| Constructor and Description |
|---|
PrintingErrorReporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
detail(String message) |
ArrayList<HbckErrorReporter.ERROR_CODE> |
getErrorList() |
void |
print(String message) |
void |
progress() |
void |
report(String message)
Report error information, but do not increment the error count.
|
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 |
reportError(String message) |
void |
resetErrors() |
int |
summarize() |
boolean |
tableHasErrors(HbckTableInfo table) |
public int errorCount
private int showProgress
private static final int progressThreshold
Set<HbckTableInfo> errorTables
private ArrayList<HbckErrorReporter.ERROR_CODE> errorList
PrintingErrorReporter()
public void clear()
clear in interface HbckErrorReporterpublic void reportError(HbckErrorReporter.ERROR_CODE errorCode, String message)
reportError in interface HbckErrorReporterpublic void reportError(HbckErrorReporter.ERROR_CODE errorCode, String message, HbckTableInfo table)
reportError in interface HbckErrorReporterpublic void reportError(HbckErrorReporter.ERROR_CODE errorCode, String message, HbckTableInfo table, HbckRegionInfo info)
reportError in interface HbckErrorReporterpublic void reportError(HbckErrorReporter.ERROR_CODE errorCode, String message, HbckTableInfo table, HbckRegionInfo info1, HbckRegionInfo info2)
reportError in interface HbckErrorReporterpublic void reportError(String message)
reportError in interface HbckErrorReporterpublic void report(String message)
report in interface HbckErrorReportermessage - public int summarize()
summarize in interface HbckErrorReporterpublic ArrayList<HbckErrorReporter.ERROR_CODE> getErrorList()
getErrorList in interface HbckErrorReporterpublic void print(String message)
print in interface HbckErrorReporterpublic boolean tableHasErrors(HbckTableInfo table)
tableHasErrors in interface HbckErrorReporterpublic void resetErrors()
resetErrors in interface HbckErrorReporterpublic void detail(String message)
detail in interface HbckErrorReporterpublic void progress()
progress in interface HbckErrorReporterCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.