public class FetcherOutputFormat extends FileOutputFormat<Text,NutchWritable>
FileOutputFormat.Counter
BASE_OUTPUT_NAME, COMPRESS, COMPRESS_CODEC, COMPRESS_TYPE, OUTDIR, PART
Constructor and Description |
---|
FetcherOutputFormat() |
Modifier and Type | Method and Description |
---|---|
void |
checkOutputSpecs(JobContext job) |
RecordWriter<Text,NutchWritable> |
getRecordWriter(TaskAttemptContext context) |
getCompressOutput, getDefaultWorkFile, getOutputCommitter, getOutputCompressorClass, getOutputName, getOutputPath, getPathForWorkFile, getUniqueFile, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputName, setOutputPath
public void checkOutputSpecs(JobContext job) throws IOException
checkOutputSpecs
in class FileOutputFormat<Text,NutchWritable>
IOException
public RecordWriter<Text,NutchWritable> getRecordWriter(TaskAttemptContext context) throws IOException
getRecordWriter
in class FileOutputFormat<Text,NutchWritable>
IOException
Copyright © 2021 The Apache Software Foundation