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 HbckErrorReporter
public void reportError(HbckErrorReporter.ERROR_CODE errorCode, String message)
reportError
in interface HbckErrorReporter
public void reportError(HbckErrorReporter.ERROR_CODE errorCode, String message, HbckTableInfo table)
reportError
in interface HbckErrorReporter
public void reportError(HbckErrorReporter.ERROR_CODE errorCode, String message, HbckTableInfo table, HbckRegionInfo info)
reportError
in interface HbckErrorReporter
public void reportError(HbckErrorReporter.ERROR_CODE errorCode, String message, HbckTableInfo table, HbckRegionInfo info1, HbckRegionInfo info2)
reportError
in interface HbckErrorReporter
public void reportError(String message)
reportError
in interface HbckErrorReporter
public void report(String message)
report
in interface HbckErrorReporter
message
- public int summarize()
summarize
in interface HbckErrorReporter
public ArrayList<HbckErrorReporter.ERROR_CODE> getErrorList()
getErrorList
in interface HbckErrorReporter
public void print(String message)
print
in interface HbckErrorReporter
public boolean tableHasErrors(HbckTableInfo table)
tableHasErrors
in interface HbckErrorReporter
public void resetErrors()
resetErrors
in interface HbckErrorReporter
public void detail(String message)
detail
in interface HbckErrorReporter
public void progress()
progress
in interface HbckErrorReporter
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.