public class GoraMapReduceUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GoraMapReduceUtils.HelperInputFormat<K,V> |
| Constructor and Description |
|---|
GoraMapReduceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.mapreduce.JobContext |
createJobContext(org.apache.hadoop.conf.Configuration conf,
String inputPath) |
static List<org.apache.hadoop.mapreduce.InputSplit> |
getSplits(org.apache.hadoop.conf.Configuration conf,
String inputPath) |
static void |
setIOSerializations(org.apache.hadoop.conf.Configuration conf,
boolean reuseObjects)
Add our own serializer (obtained via the
PersistentSerialization
wrapper) to any other io.serializations which may be specified
within existing Hadoop configuration. |
public static void setIOSerializations(org.apache.hadoop.conf.Configuration conf,
boolean reuseObjects)
PersistentSerialization
wrapper) to any other io.serializations which may be specified
within existing Hadoop configuration.conf - the Hadoop configuration objectreuseObjects - boolean parameter to reuse objectspublic static List<org.apache.hadoop.mapreduce.InputSplit> getSplits(org.apache.hadoop.conf.Configuration conf, String inputPath) throws IOException
IOExceptionpublic static org.apache.hadoop.mapreduce.JobContext createJobContext(org.apache.hadoop.conf.Configuration conf,
String inputPath)
throws IOException
IOExceptionCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.