K
- Key type of SequenceFile
V
- Value type of SequenceFile
public 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, setOutputCompressionType
checkOutputSpecs, getCompressOutput, getDefaultWorkFile, getOutputCommitter, getOutputCompressorClass, getOutputName, getOutputPath, getPathForWorkFile, getUniqueFile, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputName, setOutputPath
public 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>
IOException
InterruptedException