Class MRBuilderUtils
java.lang.Object
org.apache.hadoop.mapreduce.v2.util.MRBuilderUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AMInfonewAMInfo(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 JobIdnewJobId(long clusterTs, int appIdInt, int id) static JobIdnewJobId(org.apache.hadoop.yarn.api.records.ApplicationId appId, int id) static JobReportnewJobReport(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 JobReportnewJobReport(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 TaskAttemptIdnewTaskAttemptId(TaskId taskId, int attemptId) static TaskId
-
Constructor Details
-
MRBuilderUtils
public MRBuilderUtils()
-
-
Method Details
-
newJobId
-
newJobId
-
newTaskId
-
newTaskAttemptId
-
newJobReport
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) -
newJobReport
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) -
newAMInfo
-