public class TeraOutputFormat extends TextOutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
TextOutputFormat.LineRecordWriter<K,V>| Constructor and Description |
|---|
TeraOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getFinalSync(JobConf conf)
Does the user want a final sync at close?
|
RecordWriter<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> |
getRecordWriter(org.apache.hadoop.fs.FileSystem ignored,
JobConf job,
java.lang.String name,
org.apache.hadoop.util.Progressable progress)
Get the
RecordWriter for the given job. |
static void |
setFinalSync(JobConf conf,
boolean newValue)
Set the requirement for a final sync before the stream is closed.
|
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPathpublic static void setFinalSync(JobConf conf, boolean newValue)
public static boolean getFinalSync(JobConf conf)
public RecordWriter<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> getRecordWriter(org.apache.hadoop.fs.FileSystem ignored, JobConf job, java.lang.String name, org.apache.hadoop.util.Progressable progress) throws java.io.IOException
OutputFormatRecordWriter for the given job.getRecordWriter in interface OutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>getRecordWriter in class TextOutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>job - configuration for the job whose output is being written.name - the unique name for this part of the output.progress - mechanism for reporting progress while writing to file.RecordWriter to write the output for the job.java.io.IOExceptionCopyright © 2009 The Apache Software Foundation