org.apache.pig.backend.hadoop.executionengine.mapReduceLayer
Class PigHadoopLogger
java.lang.Object
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigHadoopLogger
- All Implemented Interfaces:
- PigLogger
public final class PigHadoopLogger
- extends Object
- implements PigLogger
A singleton class that implements the PigLogger interface
for use in map reduce context. Provides ability to aggregate
warning messages
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static PigHadoopLogger getInstance()
warn
public void warn(Object o,
String msg,
Enum warningEnum)
- Description copied from interface:
PigLogger
- If you have warning messages that need aggregation
- Specified by:
warn
in interface PigLogger
setReporter
public void setReporter(PigStatusReporter rep)
getAggregate
public boolean getAggregate()
setAggregate
public void setAggregate(boolean aggregate)
Copyright © ${year} The Apache Software Foundation