|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.hadoop.configuration.JobConfUtils
public abstract class JobConfUtils
Reusable utility class for common JobConf
operations.
Constructor Summary | |
---|---|
JobConfUtils()
|
Method Summary | |
---|---|
static org.apache.hadoop.mapred.JobConf |
createFrom(org.apache.hadoop.conf.Configuration original,
java.util.Properties properties)
Creates a new JobConf based on the given arguments. |
static org.apache.hadoop.mapred.JobConf |
merge(org.apache.hadoop.conf.Configuration one,
org.apache.hadoop.conf.Configuration two)
Creates a new Configuration by merging the given configurations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobConfUtils()
Method Detail |
---|
public static org.apache.hadoop.mapred.JobConf createFrom(org.apache.hadoop.conf.Configuration original, java.util.Properties properties)
JobConf
based on the given arguments.
original
- initial configuration to read from. May be null.properties
- properties object to add to the newly created configuration. May be null.
public static org.apache.hadoop.mapred.JobConf merge(org.apache.hadoop.conf.Configuration one, org.apache.hadoop.conf.Configuration two)
Configuration
by merging the given configurations.
Ordering is important - the second configuration overriding values in the first.
one
- configuration to read from. May be null.two
- configuration to read from. May be null.
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |