public abstract class MapreduceTestingShim extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
MapreduceTestingShim.MapreduceV1Shim |
private static class |
MapreduceTestingShim.MapreduceV2Shim |
Modifier and Type | Field and Description |
---|---|
private static Class[] |
emptyParam |
private static MapreduceTestingShim |
instance |
Constructor and Description |
---|
MapreduceTestingShim() |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.mapreduce.Job |
createJob(org.apache.hadoop.conf.Configuration conf) |
static org.apache.hadoop.mapreduce.JobContext |
createJobContext(org.apache.hadoop.conf.Configuration jobConf) |
static org.apache.hadoop.mapred.JobConf |
getJobConf(org.apache.hadoop.mapred.MiniMRCluster cluster) |
static String |
getMROutputDirProp() |
abstract org.apache.hadoop.mapreduce.Job |
newJob(org.apache.hadoop.conf.Configuration conf) |
abstract org.apache.hadoop.mapreduce.JobContext |
newJobContext(org.apache.hadoop.conf.Configuration jobConf) |
abstract org.apache.hadoop.mapred.JobConf |
obtainJobConf(org.apache.hadoop.mapred.MiniMRCluster cluster) |
abstract String |
obtainMROutputDirProp() |
private static MapreduceTestingShim instance
private static Class[] emptyParam
public MapreduceTestingShim()
public abstract org.apache.hadoop.mapreduce.JobContext newJobContext(org.apache.hadoop.conf.Configuration jobConf) throws IOException
IOException
public abstract org.apache.hadoop.mapreduce.Job newJob(org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
public abstract org.apache.hadoop.mapred.JobConf obtainJobConf(org.apache.hadoop.mapred.MiniMRCluster cluster)
public abstract String obtainMROutputDirProp()
public static org.apache.hadoop.mapreduce.JobContext createJobContext(org.apache.hadoop.conf.Configuration jobConf) throws IOException
IOException
public static org.apache.hadoop.mapred.JobConf getJobConf(org.apache.hadoop.mapred.MiniMRCluster cluster)
public static org.apache.hadoop.mapreduce.Job createJob(org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
public static String getMROutputDirProp()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.