K - Key type of SequenceFileV - Value type of SequenceFilepublic class MetadataSequenceFileOutputFormat<K,V> extends org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat<K,V>
SequenceFile that includes
additional metadata in the file header. The metadata is provided
though a MetadataConfiguration object which is constructed
using information stored in the Hadoop Configuration.| Constructor and Description |
|---|
MetadataSequenceFileOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapreduce.RecordWriter<K,V> |
getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
getOutputCompressionType, setOutputCompressionTypecheckOutputSpecs, getCompressOutput, getDefaultWorkFile, getOutputCommitter, getOutputCompressorClass, getOutputName, getOutputPath, getPathForWorkFile, getUniqueFile, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputName, setOutputPathpublic MetadataSequenceFileOutputFormat()
public org.apache.hadoop.mapreduce.RecordWriter<K,V> getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
getRecordWriter in class org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat<K,V>IOExceptionInterruptedException