Example usage for Java org.apache.hadoop.mapreduce.lib.output FileOutputFormat fields, constructors, methods, implement or subclass
The text is from its open source code.
String | COMPRESS Configuration option: should output be compressed? |
String | COMPRESS_CODEC If compression is enabled, name of codec: . |
String | COMPRESS_TYPE Type of compression : NONE, RECORD, BLOCK. |
String | OUTDIR Destination directory of work: . |
boolean | getCompressOutput(JobContext job) Is the job output compressed? |
OutputCommitter | getOutputCommitter(TaskAttemptContext context) |
Class extends CompressionCodec> | getOutputCompressorClass(JobContext job, Class extends CompressionCodec> defaultValue) Get the CompressionCodec for compressing the job outputs. |
String | getOutputName(JobContext job) Get the base output name for the output file. |
Path | getOutputPath(JobContext job) Get the Path to the output directory for the map-reduce job. |
Path | getPathForWorkFile(TaskInputOutputContext, ?, ?, ?> context, String name, String extension) Helper function to generate a Path for a file that is unique for the task within the job output directory. |
RecordWriter | getRecordWriter(TaskAttemptContext job) |
String | getUniqueFile(TaskAttemptContext context, String name, String extension) Generate a unique filename, based on the task id, name, and extension |
Path | getWorkOutputPath(TaskInputOutputContext, ?, ?, ?> context) Get the Path to the task's temporary output directory for the map-reduce job Tasks' Side-Effect Files Some applications need to create/write-to side-files, which differ from the actual job-outputs. |
void | setCompressOutput(Job job, boolean compress) Set whether the output of the job is compressed. |
void | setOutputCompressorClass(Job job, Class extends CompressionCodec> codecClass) Set the CompressionCodec to be used to compress job outputs. |
void | setOutputName(JobContext job, String name) Set the base output name for output file to be created. |
void | setOutputPath(Job job, Path outputDir) Set the Path of the output directory for the map-reduce job. |