public abstract class AbstractBulkOutputFormat<K,V>
extends org.apache.hadoop.mapreduce.OutputFormat<K,V>
implements org.apache.hadoop.mapred.OutputFormat<K,V>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractBulkOutputFormat.NullOutputCommitter |
Constructor and Description |
---|
AbstractBulkOutputFormat() |
Modifier and Type | Method and Description |
---|---|
void |
checkOutputSpecs(org.apache.hadoop.fs.FileSystem filesystem,
org.apache.hadoop.mapred.JobConf job)
Deprecated.
|
void |
checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext context) |
static java.util.Collection<java.lang.String> |
getIgnoreHosts(org.apache.hadoop.conf.Configuration conf)
Get the hosts to ignore as a collection of strings
|
org.apache.hadoop.mapreduce.OutputCommitter |
getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
static void |
setIgnoreHosts(org.apache.hadoop.conf.Configuration conf,
java.lang.String... ignoreNodes)
Set the hosts to ignore.
|
static void |
setIgnoreHosts(org.apache.hadoop.conf.Configuration conf,
java.lang.String ignoreNodesCsv)
Set the hosts to ignore as comma delimited values.
|
public void checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext context)
public org.apache.hadoop.mapreduce.OutputCommitter getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws java.io.IOException, java.lang.InterruptedException
@Deprecated public void checkOutputSpecs(org.apache.hadoop.fs.FileSystem filesystem, org.apache.hadoop.mapred.JobConf job) throws java.io.IOException
public static void setIgnoreHosts(org.apache.hadoop.conf.Configuration conf, java.lang.String ignoreNodesCsv)
conf
- job configurationignoreNodesCsv
- a comma delimited list of nodes to ignorepublic static void setIgnoreHosts(org.apache.hadoop.conf.Configuration conf, java.lang.String... ignoreNodes)
conf
- job configurationignoreNodes
- the nodes to ignorepublic static java.util.Collection<java.lang.String> getIgnoreHosts(org.apache.hadoop.conf.Configuration conf)
conf
- job configurationCopyright © 2016 The Apache Software Foundation