org.apache.hadoop.tools.rumen
Class TaskInfo

java.lang.Object
  extended by org.apache.hadoop.tools.rumen.TaskInfo

public class TaskInfo
extends Object


Constructor Summary
TaskInfo(long bytesIn, int recsIn, long bytesOut, int recsOut, long maxMemory)
           
 
Method Summary
 long getInputBytes()
           
 int getInputRecords()
           
 long getOutputBytes()
           
 int getOutputRecords()
           
 long getTaskMemory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskInfo

public TaskInfo(long bytesIn,
                int recsIn,
                long bytesOut,
                int recsOut,
                long maxMemory)
Method Detail

getInputBytes

public long getInputBytes()
Returns:
Raw bytes read from the FileSystem into the task. Note that this may not always match the input bytes to the task.

getInputRecords

public int getInputRecords()
Returns:
Number of records input to this task.

getOutputBytes

public long getOutputBytes()
Returns:
Raw bytes written to the destination FileSystem. Note that this may not match output bytes.

getOutputRecords

public int getOutputRecords()
Returns:
Number of records output from this task.

getTaskMemory

public long getTaskMemory()
Returns:
Memory used by the task leq the heap size.


Copyright © 2009 The Apache Software Foundation