public class PerMapOutputFormat<K,V>
extends org.apache.hadoop.mapred.FileOutputFormat<K,V>
org.apache.hadoop.mapred.lib.MultipleOutputFormat
| Constructor and Description |
|---|
PerMapOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkOutputSpecs(org.apache.hadoop.fs.FileSystem ignored,
org.apache.hadoop.mapred.JobConf job)
Over-ride the default FileOutputFormat's checkOutputSpecs() to
allow for the target directory to already exist.
|
org.apache.hadoop.mapred.RecordWriter<K,V> |
getRecordWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.mapred.JobConf job,
String name,
org.apache.hadoop.util.Progressable progress) |
public org.apache.hadoop.mapred.RecordWriter<K,V> getRecordWriter(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.mapred.JobConf job, String name, org.apache.hadoop.util.Progressable progress) throws IOException
getRecordWriter in interface org.apache.hadoop.mapred.OutputFormat<K,V>getRecordWriter in class org.apache.hadoop.mapred.FileOutputFormat<K,V>IOExceptionpublic void checkOutputSpecs(org.apache.hadoop.fs.FileSystem ignored,
org.apache.hadoop.mapred.JobConf job)
throws org.apache.hadoop.mapred.FileAlreadyExistsException,
org.apache.hadoop.mapred.InvalidJobConfException,
IOException
checkOutputSpecs in interface org.apache.hadoop.mapred.OutputFormat<K,V>checkOutputSpecs in class org.apache.hadoop.mapred.FileOutputFormat<K,V>org.apache.hadoop.mapred.FileAlreadyExistsExceptionorg.apache.hadoop.mapred.InvalidJobConfExceptionIOExceptionCopyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.