org.apache.oozie.action.hadoop
Class MRStats

java.lang.Object
  extended by org.apache.oozie.action.hadoop.ActionStats
      extended by org.apache.oozie.action.hadoop.MRStats

public class MRStats
extends ActionStats

Class to collect statistics for Map-Reduce action.


Field Summary
static String ACTION_TYPE_LABEL
           
 
Fields inherited from class org.apache.oozie.action.hadoop.ActionStats
currentActionType
 
Constructor Summary
MRStats(org.apache.hadoop.mapred.Counters groups)
           
 
Method Summary
 String toJSON()
          Return the statistics in JSON format.
 
Methods inherited from class org.apache.oozie.action.hadoop.ActionStats
getCurrentActionType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_TYPE_LABEL

public static final String ACTION_TYPE_LABEL
See Also:
Constant Field Values
Constructor Detail

MRStats

public MRStats(org.apache.hadoop.mapred.Counters groups)
Method Detail

toJSON

public String toJSON()
Description copied from class: ActionStats
Return the statistics in JSON format. Sub-classes must override this method to provide statistics for their particular action type.

Specified by:
toJSON in class ActionStats
Returns:
a JSON string with the statistics information.


Copyright © 2013 Apache Software Foundation. All Rights Reserved.