org.apache.hadoop.chukwa.extraction.archive
Class ChukwaArchiveHourlyOutputFormat

java.lang.Object
  extended by org.apache.hadoop.mapred.FileOutputFormat<K,V>
      extended by org.apache.hadoop.mapred.lib.MultipleOutputFormat<K,V>
          extended by org.apache.hadoop.mapred.lib.MultipleSequenceFileOutputFormat<ChukwaArchiveKey,ChunkImpl>
              extended by org.apache.hadoop.chukwa.extraction.archive.ChukwaArchiveHourlyOutputFormat
All Implemented Interfaces:
org.apache.hadoop.mapred.OutputFormat<ChukwaArchiveKey,ChunkImpl>

public class ChukwaArchiveHourlyOutputFormat
extends org.apache.hadoop.mapred.lib.MultipleSequenceFileOutputFormat<ChukwaArchiveKey,ChunkImpl>


Constructor Summary
ChukwaArchiveHourlyOutputFormat()
           
 
Method Summary
protected  String generateFileNameForKeyValue(ChukwaArchiveKey key, ChunkImpl chunk, String name)
           
 
Methods inherited from class org.apache.hadoop.mapred.lib.MultipleSequenceFileOutputFormat
getBaseRecordWriter
 
Methods inherited from class org.apache.hadoop.mapred.lib.MultipleOutputFormat
generateActualKey, generateActualValue, generateLeafFileName, getInputFileBasedOutputFileName, getRecordWriter
 
Methods inherited from class org.apache.hadoop.mapred.FileOutputFormat
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChukwaArchiveHourlyOutputFormat

public ChukwaArchiveHourlyOutputFormat()
Method Detail

generateFileNameForKeyValue

protected String generateFileNameForKeyValue(ChukwaArchiveKey key,
                                             ChunkImpl chunk,
                                             String name)
Overrides:
generateFileNameForKeyValue in class org.apache.hadoop.mapred.lib.MultipleOutputFormat<ChukwaArchiveKey,ChunkImpl>


Copyright © ${year} The Apache Software Foundation