public class BlockOutputFormat extends BspOutputFormat
Constructor and Description |
---|
BlockOutputFormat() |
Modifier and Type | Method and Description |
---|---|
static <OD> void |
addOutputDesc(OD outputDesc,
String confOption,
GiraphConfiguration conf) |
void |
checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext jobContext) |
static <OW extends BlockOutputWriter,OD extends BlockOutputDesc<OW>> |
createInitAndCheckOutputDesc(String confOption,
org.apache.hadoop.conf.Configuration conf,
String jobIdentifier) |
static Map<String,BlockOutputDesc> |
createInitAndCheckOutputDescsMap(org.apache.hadoop.conf.Configuration conf,
String jobIdentifier) |
static Map<String,BlockOutputDesc> |
createInitAndCheckOutputDescsMap(org.apache.hadoop.mapreduce.JobContext jobContext) |
org.apache.hadoop.mapreduce.OutputCommitter |
getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
static String[] |
getOutputConfOptions(org.apache.hadoop.conf.Configuration conf)
Returns an array of output configuration options set in the input
configuration.
|
getRecordWriter
public static <OD> void addOutputDesc(OD outputDesc, String confOption, GiraphConfiguration conf)
public static String[] getOutputConfOptions(org.apache.hadoop.conf.Configuration conf)
conf
- Configurationpublic static <OW extends BlockOutputWriter,OD extends BlockOutputDesc<OW>> OD createInitAndCheckOutputDesc(String confOption, org.apache.hadoop.conf.Configuration conf, String jobIdentifier)
public static Map<String,BlockOutputDesc> createInitAndCheckOutputDescsMap(org.apache.hadoop.conf.Configuration conf, String jobIdentifier)
public static Map<String,BlockOutputDesc> createInitAndCheckOutputDescsMap(org.apache.hadoop.mapreduce.JobContext jobContext)
public void checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext jobContext) throws IOException, InterruptedException
checkOutputSpecs
in class BspOutputFormat
IOException
InterruptedException
public org.apache.hadoop.mapreduce.OutputCommitter getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
getOutputCommitter
in class BspOutputFormat
IOException
InterruptedException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.