static class HBaseFsck.PrintingErrorReporter extends Object implements HBaseFsck.ErrorReporter
HBaseFsck.ErrorReporter.ERROR_CODE| Modifier and Type | Field and Description |
|---|---|
int |
errorCount |
private ArrayList<HBaseFsck.ErrorReporter.ERROR_CODE> |
errorList |
(package private) Set<HBaseFsck.TableInfo> |
errorTables |
private static int |
progressThreshold |
private int |
showProgress |
| Constructor and Description |
|---|
HBaseFsck.PrintingErrorReporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
detail(String message) |
ArrayList<HBaseFsck.ErrorReporter.ERROR_CODE> |
getErrorList() |
private static boolean |
getSUMMARY() |
void |
print(String message) |
void |
progress() |
void |
report(String message)
Report error information, but do not increment the error count.
|
void |
reportError(HBaseFsck.ErrorReporter.ERROR_CODE errorCode,
String message) |
void |
reportError(HBaseFsck.ErrorReporter.ERROR_CODE errorCode,
String message,
HBaseFsck.TableInfo table) |
void |
reportError(HBaseFsck.ErrorReporter.ERROR_CODE errorCode,
String message,
HBaseFsck.TableInfo table,
HBaseFsck.HbckInfo info) |
void |
reportError(HBaseFsck.ErrorReporter.ERROR_CODE errorCode,
String message,
HBaseFsck.TableInfo table,
HBaseFsck.HbckInfo info1,
HBaseFsck.HbckInfo info2) |
void |
reportError(String message) |
void |
resetErrors() |
int |
summarize() |
boolean |
tableHasErrors(HBaseFsck.TableInfo table) |
public int errorCount
private int showProgress
private static final int progressThreshold
Set<HBaseFsck.TableInfo> errorTables
private ArrayList<HBaseFsck.ErrorReporter.ERROR_CODE> errorList
public void clear()
clear in interface HBaseFsck.ErrorReporterpublic void reportError(HBaseFsck.ErrorReporter.ERROR_CODE errorCode, String message)
reportError in interface HBaseFsck.ErrorReporterpublic void reportError(HBaseFsck.ErrorReporter.ERROR_CODE errorCode, String message, HBaseFsck.TableInfo table)
reportError in interface HBaseFsck.ErrorReporterpublic void reportError(HBaseFsck.ErrorReporter.ERROR_CODE errorCode, String message, HBaseFsck.TableInfo table, HBaseFsck.HbckInfo info)
reportError in interface HBaseFsck.ErrorReporterpublic void reportError(HBaseFsck.ErrorReporter.ERROR_CODE errorCode, String message, HBaseFsck.TableInfo table, HBaseFsck.HbckInfo info1, HBaseFsck.HbckInfo info2)
reportError in interface HBaseFsck.ErrorReporterpublic void reportError(String message)
reportError in interface HBaseFsck.ErrorReporterpublic void report(String message)
report in interface HBaseFsck.ErrorReportermessage - public int summarize()
summarize in interface HBaseFsck.ErrorReporterpublic ArrayList<HBaseFsck.ErrorReporter.ERROR_CODE> getErrorList()
getErrorList in interface HBaseFsck.ErrorReporterpublic void print(String message)
print in interface HBaseFsck.ErrorReporterprivate static boolean getSUMMARY()
public boolean tableHasErrors(HBaseFsck.TableInfo table)
tableHasErrors in interface HBaseFsck.ErrorReporterpublic void resetErrors()
resetErrors in interface HBaseFsck.ErrorReporterpublic void detail(String message)
detail in interface HBaseFsck.ErrorReporterpublic void progress()
progress in interface HBaseFsck.ErrorReporterCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.