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