org.apache.hadoop.tools.rumen
Class ReduceTaskAttemptInfo

java.lang.Object
  extended by org.apache.hadoop.tools.rumen.TaskAttemptInfo
      extended by org.apache.hadoop.tools.rumen.ReduceTaskAttemptInfo

public class ReduceTaskAttemptInfo
extends TaskAttemptInfo

ReduceTaskAttemptInfo represents the information with regard to a reduce task attempt.


Field Summary
 
Fields inherited from class org.apache.hadoop.tools.rumen.TaskAttemptInfo
allSplits, state, taskInfo
 
Constructor Summary
ReduceTaskAttemptInfo(org.apache.hadoop.mapred.TaskStatus.State state, TaskInfo taskInfo, long shuffleTime, long mergeTime, long reduceTime)
          Deprecated. please use the constructor with (state, taskInfo, shuffleTime, mergeTime, reduceTime List<List<Integer>> allSplits) instead. see LoggedTaskAttempt for an explanation of allSplits. If there are no known splits, use null.
ReduceTaskAttemptInfo(org.apache.hadoop.mapred.TaskStatus.State state, TaskInfo taskInfo, long shuffleTime, long mergeTime, long reduceTime, List<List<Integer>> allSplits)
           
 
Method Summary
 long getMergeRuntime()
          Get the runtime for the merge phase of the reduce task-attempt
 long getReduceRuntime()
          Get the runtime for the reduce phase of the reduce task-attempt.
 long getRuntime()
          Get the total runtime for the task-attempt.
 long getShuffleRuntime()
          Get the runtime for the shuffle phase of the reduce task-attempt.
 
Methods inherited from class org.apache.hadoop.tools.rumen.TaskAttemptInfo
getRunState, getSplitVector, getTaskInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReduceTaskAttemptInfo

public ReduceTaskAttemptInfo(org.apache.hadoop.mapred.TaskStatus.State state,
                             TaskInfo taskInfo,
                             long shuffleTime,
                             long mergeTime,
                             long reduceTime,
                             List<List<Integer>> allSplits)

ReduceTaskAttemptInfo

@Deprecated
public ReduceTaskAttemptInfo(org.apache.hadoop.mapred.TaskStatus.State state,
                                        TaskInfo taskInfo,
                                        long shuffleTime,
                                        long mergeTime,
                                        long reduceTime)
Deprecated. please use the constructor with (state, taskInfo, shuffleTime, mergeTime, reduceTime List<List<Integer>> allSplits) instead. see LoggedTaskAttempt for an explanation of allSplits. If there are no known splits, use null.

Method Detail

getReduceRuntime

public long getReduceRuntime()
Get the runtime for the reduce phase of the reduce task-attempt.

Returns:
the runtime for the reduce phase of the reduce task-attempt

getShuffleRuntime

public long getShuffleRuntime()
Get the runtime for the shuffle phase of the reduce task-attempt.

Returns:
the runtime for the shuffle phase of the reduce task-attempt

getMergeRuntime

public long getMergeRuntime()
Get the runtime for the merge phase of the reduce task-attempt

Returns:
the runtime for the merge phase of the reduce task-attempt

getRuntime

public long getRuntime()
Description copied from class: TaskAttemptInfo
Get the total runtime for the task-attempt.

Specified by:
getRuntime in class TaskAttemptInfo
Returns:
the total runtime for the task-attempt


Copyright © 2012 Apache Software Foundation. All Rights Reserved.