public class MRBuilderUtils extends Object
Constructor and Description |
---|
MRBuilderUtils() |
Modifier and Type | Method and Description |
---|---|
static AMInfo |
newAMInfo(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
long startTime,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
String nmHost,
int nmPort,
int nmHttpPort) |
static JobId |
newJobId(org.apache.hadoop.yarn.api.records.ApplicationId appId,
int id) |
static JobId |
newJobId(long clusterTs,
int appIdInt,
int id) |
static JobReport |
newJobReport(JobId jobId,
String jobName,
String userName,
JobState state,
long submitTime,
long startTime,
long finishTime,
float setupProgress,
float mapProgress,
float reduceProgress,
float cleanupProgress,
String jobFile,
List<AMInfo> amInfos,
boolean isUber,
String diagnostics) |
static JobReport |
newJobReport(JobId jobId,
String jobName,
String userName,
JobState state,
long submitTime,
long startTime,
long finishTime,
float setupProgress,
float mapProgress,
float reduceProgress,
float cleanupProgress,
String jobFile,
List<AMInfo> amInfos,
boolean isUber,
String diagnostics,
org.apache.hadoop.yarn.api.records.Priority priority) |
static TaskAttemptId |
newTaskAttemptId(TaskId taskId,
int attemptId) |
static TaskId |
newTaskId(JobId jobId,
int id,
TaskType taskType) |
public static JobId newJobId(org.apache.hadoop.yarn.api.records.ApplicationId appId, int id)
public static JobId newJobId(long clusterTs, int appIdInt, int id)
public static TaskAttemptId newTaskAttemptId(TaskId taskId, int attemptId)
public static JobReport newJobReport(JobId jobId, String jobName, String userName, JobState state, long submitTime, long startTime, long finishTime, float setupProgress, float mapProgress, float reduceProgress, float cleanupProgress, String jobFile, List<AMInfo> amInfos, boolean isUber, String diagnostics)
public static JobReport newJobReport(JobId jobId, String jobName, String userName, JobState state, long submitTime, long startTime, long finishTime, float setupProgress, float mapProgress, float reduceProgress, float cleanupProgress, String jobFile, List<AMInfo> amInfos, boolean isUber, String diagnostics, org.apache.hadoop.yarn.api.records.Priority priority)
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.