aboutsummaryrefslogtreecommitdiff
path: root/core/src/hadoop1/scala/org/apache/hadoop/mapreduce/HadoopMapReduceUtil.scala
blob: de7b0f81e38016cc03eafad530afa9d38c35135e (plain) (blame)
1
2
3
4
5
6
7
8
9
package org.apache.hadoop.mapreduce

import org.apache.hadoop.conf.Configuration

trait HadoopMapReduceUtil {
  def newJobContext(conf: Configuration, jobId: JobID): JobContext = new JobContext(conf, jobId)

  def newTaskAttemptContext(conf: Configuration, attemptId: TaskAttemptID): TaskAttemptContext = new TaskAttemptContext(conf, attemptId)
}