|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigHadoopLogger
public final class PigHadoopLogger
A singleton class that implements the PigLogger interface for use in map reduce context. Provides ability to aggregate warning messages
Method Summary | |
---|---|
void |
destroy()
|
boolean |
getAggregate()
|
static PigHadoopLogger |
getInstance()
Get singleton instance of the context |
void |
setAggregate(boolean aggregate)
|
void |
setReporter(PigStatusReporter reporter)
|
void |
warn(Object o,
String msg,
Enum warningEnum)
If you have warning messages that need aggregation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PigHadoopLogger getInstance()
public void destroy()
public void setReporter(PigStatusReporter reporter)
public void warn(Object o, String msg, Enum warningEnum)
PigLogger
warn
in interface PigLogger
public boolean getAggregate()
public void setAggregate(boolean aggregate)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |