Class MRBuilderUtils

java.lang.Object
org.apache.hadoop.mapreduce.v2.util.MRBuilderUtils

public class MRBuilderUtils extends Object
  • Constructor Details

    • MRBuilderUtils

      public MRBuilderUtils()
  • Method Details

    • newJobId

      public static JobId newJobId(org.apache.hadoop.yarn.api.records.ApplicationId appId, int id)
    • newJobId

      public static JobId newJobId(long clusterTs, int appIdInt, int id)
    • newTaskId

      public static TaskId newTaskId(JobId jobId, int id, TaskType taskType)
    • newTaskAttemptId

      public static TaskAttemptId newTaskAttemptId(TaskId taskId, int attemptId)
    • 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

      public 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)