public class JobDetails extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
JobDetails.CurrentAttempts
The CurrentAttempts holds the attempt number of the current representative execution attempt,
the attempt numbers of all the running attempts, and whether the current execution has
reached terminal state.
|
Constructor and Description |
---|
JobDetails(JobID jobId,
String jobName,
long startTime,
long endTime,
long duration,
JobStatus status,
long lastUpdateTime,
int[] tasksPerState,
int numTasks) |
JobDetails(JobID jobId,
String jobName,
long startTime,
long endTime,
long duration,
JobStatus status,
long lastUpdateTime,
int[] tasksPerState,
int numTasks,
Map<String,Map<Integer,JobDetails.CurrentAttempts>> currentExecutionAttempts) |
JobDetails(JobID jobId,
String jobName,
long startTime,
long endTime,
long duration,
JobStatus status,
long lastUpdateTime,
Map<String,Integer> taskInfo) |
Modifier and Type | Method and Description |
---|---|
static JobDetails |
createDetailsForJob(AccessExecutionGraph job) |
boolean |
equals(Object o) |
Map<String,Map<Integer,JobDetails.CurrentAttempts>> |
getCurrentExecutionAttempts() |
long |
getDuration() |
long |
getEndTime() |
JobID |
getJobId() |
String |
getJobName() |
long |
getLastUpdateTime() |
int |
getNumTasks() |
long |
getStartTime() |
JobStatus |
getStatus() |
Map<String,Integer> |
getTaskInfo() |
int[] |
getTasksPerState() |
int |
hashCode() |
String |
toString() |
public JobDetails(JobID jobId, String jobName, long startTime, long endTime, long duration, JobStatus status, long lastUpdateTime, Map<String,Integer> taskInfo)
@VisibleForTesting public JobDetails(JobID jobId, String jobName, long startTime, long endTime, long duration, JobStatus status, long lastUpdateTime, int[] tasksPerState, int numTasks)
public static JobDetails createDetailsForJob(AccessExecutionGraph job)
public JobID getJobId()
public String getJobName()
public long getStartTime()
public long getEndTime()
public long getDuration()
public JobStatus getStatus()
public long getLastUpdateTime()
public int getNumTasks()
public int[] getTasksPerState()
public Map<String,Map<Integer,JobDetails.CurrentAttempts>> getCurrentExecutionAttempts()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.