org.apache.hadoop.mapreduce.jobhistory
Class JobHistoryParser.JobInfo
java.lang.Object
org.apache.hadoop.mapreduce.jobhistory.JobHistoryParser.JobInfo
- Enclosing class:
- JobHistoryParser
public static class JobHistoryParser.JobInfo
- extends Object
The class where job information is aggregated into after parsing
Constructor Summary |
JobHistoryParser.JobInfo()
Create a job info object where job information will be stored
after a parse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobHistoryParser.JobInfo
public JobHistoryParser.JobInfo()
- Create a job info object where job information will be stored
after a parse
printAll
public void printAll()
- Print all the job information
getSubmitTime
public long getSubmitTime()
- Returns:
- the job submit time
getFinishTime
public long getFinishTime()
- Returns:
- the job finish time
getJobId
public JobID getJobId()
- Returns:
- the job id
getUsername
public String getUsername()
- Returns:
- the user name
getJobname
public String getJobname()
- Returns:
- the job name
getJobQueueName
public String getJobQueueName()
- Returns:
- the job queue name
getJobConfPath
public String getJobConfPath()
- Returns:
- the path for the job configuration file
getLaunchTime
public long getLaunchTime()
- Returns:
- the job launch time
getTotalMaps
public long getTotalMaps()
- Returns:
- the total number of maps
getTotalReduces
public long getTotalReduces()
- Returns:
- the total number of reduces
getFailedMaps
public long getFailedMaps()
- Returns:
- the total number of failed maps
getFailedReduces
public long getFailedReduces()
- Returns:
- the number of failed reduces
getFinishedMaps
public long getFinishedMaps()
- Returns:
- the number of finished maps
getFinishedReduces
public long getFinishedReduces()
- Returns:
- the number of finished reduces
getJobStatus
public String getJobStatus()
- Returns:
- the job status
getErrorInfo
public String getErrorInfo()
getTotalCounters
public Counters getTotalCounters()
- Returns:
- the counters for the job
getMapCounters
public Counters getMapCounters()
- Returns:
- the map counters for the job
getReduceCounters
public Counters getReduceCounters()
- Returns:
- the reduce counters for the job
getAllTasks
public Map<TaskID,JobHistoryParser.TaskInfo> getAllTasks()
- Returns:
- the map of all tasks in this job
getPriority
public String getPriority()
- Returns:
- the priority of this job
getJobACLs
public Map<JobACL,org.apache.hadoop.security.authorize.AccessControlList> getJobACLs()
getUberized
public boolean getUberized()
- Returns:
- the uberized status of this job
getAMInfos
public List<JobHistoryParser.AMInfo> getAMInfos()
- Returns:
- the AMInfo for the job's AppMaster
getLatestAMInfo
public JobHistoryParser.AMInfo getLatestAMInfo()
- Returns:
- the AMInfo for the newest AppMaster
Copyright © 2012 Apache Software Foundation. All Rights Reserved.