org.apache.accumulo.core.util
public class HadoopCompatUtil extends Object
Constructor and Description |
---|
HadoopCompatUtil() |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.conf.Configuration |
getConfiguration(org.apache.hadoop.mapreduce.JobContext context)
Uses reflection to pull Configuration out of the JobContext for Hadoop 1 and Hadoop2 compatibility
|
public static org.apache.hadoop.conf.Configuration getConfiguration(org.apache.hadoop.mapreduce.JobContext context)
context
- The job context for which to return the configurationCopyright © 2011–2016 The Apache Software Foundation. All rights reserved.