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,
java.lang.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, java.lang.String name, org.apache.hadoop.util.Progressable progress) throws java.io.IOException
public 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,
java.io.IOException
Copyright © 2019 The International Internet Preservation Consortium. All Rights Reserved.