org.apache.hadoop.tools.rumen
Class ParsedJob

java.lang.Object
  extended by org.apache.hadoop.tools.rumen.LoggedJob
      extended by org.apache.hadoop.tools.rumen.ParsedJob
All Implemented Interfaces:
DeepCompare

public class ParsedJob
extends LoggedJob

This is a wrapper class around LoggedJob. This provides also the extra information about the job obtained from job history which is not written to the JSON trace file.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.tools.rumen.LoggedJob
LoggedJob.JobPriority, LoggedJob.JobType
 
Method Summary
 Map<org.apache.hadoop.mapreduce.JobACL,org.apache.hadoop.security.authorize.AccessControlList> obtainJobAcls()
           
 String obtainJobConfpath()
           
 Map<String,Long> obtainMapCounters()
           
 List<ParsedTask> obtainMapTasks()
           
 List<ParsedTask> obtainOtherTasks()
           
 Map<String,Long> obtainReduceCounters()
           
 List<ParsedTask> obtainReduceTasks()
           
 Map<String,Long> obtainTotalCounters()
           
 
Methods inherited from class org.apache.hadoop.tools.rumen.LoggedJob
deepCompare, getClusterMapMB, getClusterReduceMB, getComputonsPerMapInputByte, getComputonsPerMapOutputByte, getComputonsPerReduceInputByte, getComputonsPerReduceOutputByte, getDirectDependantJobs, getFailedMapAttemptCDFs, getFailedMapperFraction, getFailedReduceAttemptCDF, getFinishTime, getHeapMegabytes, getJobID, getJobMapMB, getJobName, getJobProperties, getJobReduceMB, getJobtype, getLaunchTime, getMapperTriesToSucceed, getMapTasks, getOtherTasks, getOutcome, getPriority, getQueue, getReduceTasks, getRelativeTime, getSubmitTime, getSuccessfulMapAttemptCDFs, getSuccessfulReduceAttemptCDF, getTotalMaps, getTotalReduces, getUser, setUnknownAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

obtainTotalCounters

public Map<String,Long> obtainTotalCounters()
Returns:
the job total counters

obtainMapCounters

public Map<String,Long> obtainMapCounters()
Returns:
the job level map tasks' counters

obtainReduceCounters

public Map<String,Long> obtainReduceCounters()
Returns:
the job level reduce tasks' counters

obtainJobConfpath

public String obtainJobConfpath()
Returns:
the job conf path in staging dir on hdfs

obtainJobAcls

public Map<org.apache.hadoop.mapreduce.JobACL,org.apache.hadoop.security.authorize.AccessControlList> obtainJobAcls()
Returns:
the job acls

obtainMapTasks

public List<ParsedTask> obtainMapTasks()
Returns:
the list of map tasks of this job

obtainReduceTasks

public List<ParsedTask> obtainReduceTasks()
Returns:
the list of reduce tasks of this job

obtainOtherTasks

public List<ParsedTask> obtainOtherTasks()
Returns:
the list of other tasks of this job


Copyright © 2013 Apache Software Foundation. All Rights Reserved.