org.apache.oozie.action.hadoop
Class MRStats
java.lang.Object
org.apache.oozie.action.hadoop.ActionStats
org.apache.oozie.action.hadoop.MRStats
public class MRStats
- extends ActionStats
Class to collect statistics for Map-Reduce action.
Constructor Summary |
MRStats(org.apache.hadoop.mapred.Counters groups)
|
Method Summary |
String |
toJSON()
Return the statistics in JSON format. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACTION_TYPE_LABEL
public static final String ACTION_TYPE_LABEL
- See Also:
- Constant Field Values
MRStats
public MRStats(org.apache.hadoop.mapred.Counters groups)
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.