public class IndexUpdateOutputFormat extends FileOutputFormat<Shard,org.apache.hadoop.io.Text>
Constructor and Description |
---|
IndexUpdateOutputFormat() |
Modifier and Type | Method and Description |
---|---|
RecordWriter<Shard,org.apache.hadoop.io.Text> |
getRecordWriter(org.apache.hadoop.fs.FileSystem fs,
JobConf job,
java.lang.String name,
org.apache.hadoop.util.Progressable progress)
Get the
RecordWriter for the given job. |
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath
public RecordWriter<Shard,org.apache.hadoop.io.Text> getRecordWriter(org.apache.hadoop.fs.FileSystem fs, JobConf job, java.lang.String name, org.apache.hadoop.util.Progressable progress) throws java.io.IOException
OutputFormat
RecordWriter
for the given job.getRecordWriter
in interface OutputFormat<Shard,org.apache.hadoop.io.Text>
getRecordWriter
in class FileOutputFormat<Shard,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.IOException
Copyright © 2009 The Apache Software Foundation