public class Hadoop1Compat extends Object implements HadoopCompat
| Constructor and Description |
|---|
Hadoop1Compat() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
getContextConfiguration(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
long |
getCounter(org.apache.hadoop.mrunit.mapreduce.MapReduceDriver counters,
Enum<?> e) |
org.apache.hadoop.conf.Configuration |
getJobContextConfiguration(org.apache.hadoop.mapreduce.JobContext context) |
String |
getMapredJarConfigKey() |
String |
getSpeculativeMapConfigKey() |
String |
getSpeculativeReduceConfigKey() |
void |
incrementContextCounter(org.apache.hadoop.mapreduce.TaskInputOutputContext context,
Enum<?> counter,
long incr) |
HadoopCompiler |
newCompiler(HadoopGraph g) |
JobClasspathConfigurer |
newDistCacheConfigurer() |
org.apache.hadoop.conf.Configuration |
newImmutableConfiguration(org.apache.hadoop.conf.Configuration base) |
JobClasspathConfigurer |
newMapredJarConfigurer(String mapredJarPath) |
org.apache.hadoop.mapreduce.TaskAttemptContext |
newTask(org.apache.hadoop.conf.Configuration c,
org.apache.hadoop.mapreduce.TaskAttemptID t) |
public HadoopCompiler newCompiler(HadoopGraph g)
newCompiler in interface HadoopCompatpublic org.apache.hadoop.mapreduce.TaskAttemptContext newTask(org.apache.hadoop.conf.Configuration c,
org.apache.hadoop.mapreduce.TaskAttemptID t)
newTask in interface HadoopCompatpublic String getSpeculativeMapConfigKey()
getSpeculativeMapConfigKey in interface HadoopCompatpublic String getSpeculativeReduceConfigKey()
getSpeculativeReduceConfigKey in interface HadoopCompatpublic String getMapredJarConfigKey()
getMapredJarConfigKey in interface HadoopCompatpublic void incrementContextCounter(org.apache.hadoop.mapreduce.TaskInputOutputContext context,
Enum<?> counter,
long incr)
incrementContextCounter in interface HadoopCompatpublic org.apache.hadoop.conf.Configuration getContextConfiguration(org.apache.hadoop.mapreduce.TaskAttemptContext context)
getContextConfiguration in interface HadoopCompatpublic long getCounter(org.apache.hadoop.mrunit.mapreduce.MapReduceDriver counters,
Enum<?> e)
getCounter in interface HadoopCompatpublic JobClasspathConfigurer newMapredJarConfigurer(String mapredJarPath)
newMapredJarConfigurer in interface HadoopCompatpublic JobClasspathConfigurer newDistCacheConfigurer()
newDistCacheConfigurer in interface HadoopCompatpublic org.apache.hadoop.conf.Configuration getJobContextConfiguration(org.apache.hadoop.mapreduce.JobContext context)
getJobContextConfiguration in interface HadoopCompatpublic org.apache.hadoop.conf.Configuration newImmutableConfiguration(org.apache.hadoop.conf.Configuration base)
newImmutableConfiguration in interface HadoopCompatCopyright © 2012–2016. All rights reserved.