org.apache.pig.backend.hadoop.executionengine.mapReduceLayer
Class PigHadoopLogger

java.lang.Object
  extended by 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


Method Summary
 boolean getAggregate()
           
static PigHadoopLogger getInstance()
           
 void setAggregate(boolean aggregate)
           
 void setReporter(PigStatusReporter rep)
           
 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

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