public class TeraOutputFormatWithCRC
extends org.apache.hadoop.mapreduce.lib.output.TextOutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
Constructor and Description |
---|
TeraOutputFormatWithCRC() |
Modifier and Type | Method and Description |
---|---|
static boolean |
getFinalSync(org.apache.hadoop.mapreduce.JobContext conf)
Does the user want a final sync at close?
|
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> |
getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext job) |
static void |
setFinalSync(org.apache.hadoop.mapreduce.JobContext conf,
boolean newValue)
Set the requirement for a final sync before the stream is closed.
|
checkOutputSpecs, getCompressOutput, getDefaultWorkFile, getOutputCommitter, getOutputCompressorClass, getOutputName, getOutputPath, getPathForWorkFile, getUniqueFile, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputName, setOutputPath
public static void setFinalSync(org.apache.hadoop.mapreduce.JobContext conf, boolean newValue)
public static boolean getFinalSync(org.apache.hadoop.mapreduce.JobContext conf)
public org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext job) throws IOException
getRecordWriter
in class org.apache.hadoop.mapreduce.lib.output.TextOutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
IOException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.