Package org.apache.hadoop.hbase.tool
Class MapreduceTestingShim
java.lang.Object
org.apache.hadoop.hbase.tool.MapreduceTestingShim
- Direct Known Subclasses:
MapreduceTestingShim.MapreduceV1Shim
,MapreduceTestingShim.MapreduceV2Shim
This class provides shims for HBase to interact with the Hadoop 1.0.x and the Hadoop 0.23.x
series. NOTE: No testing done against 0.22.x, or 0.21.x.
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
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
-
Field Details
-
instance
-
emptyParam
-
-
Constructor Details
-
MapreduceTestingShim
public MapreduceTestingShim()
-
-
Method Details
-
newJobContext
public abstract org.apache.hadoop.mapreduce.JobContext newJobContext(org.apache.hadoop.conf.Configuration jobConf) throws IOException - Throws:
IOException
-
newJob
public abstract org.apache.hadoop.mapreduce.Job newJob(org.apache.hadoop.conf.Configuration conf) throws IOException - Throws:
IOException
-
obtainJobConf
public abstract org.apache.hadoop.mapred.JobConf obtainJobConf(org.apache.hadoop.mapred.MiniMRCluster cluster) -
obtainMROutputDirProp
-
createJobContext
public static org.apache.hadoop.mapreduce.JobContext createJobContext(org.apache.hadoop.conf.Configuration jobConf) throws IOException - Throws:
IOException
-
getJobConf
public static org.apache.hadoop.mapred.JobConf getJobConf(org.apache.hadoop.mapred.MiniMRCluster cluster) -
createJob
public static org.apache.hadoop.mapreduce.Job createJob(org.apache.hadoop.conf.Configuration conf) throws IOException - Throws:
IOException
-
getMROutputDirProp
-