public abstract class JobConfUtils
extends java.lang.Object
JobConf operations.| Constructor and Description |
|---|
JobConfUtils() |
| Modifier and Type | Method and Description |
|---|---|
static JobConf |
createFrom(Configuration original,
java.util.Properties properties)
Creates a new
JobConf based on the given arguments. |
static JobConf |
merge(Configuration one,
Configuration two)
Creates a new
Configuration by merging the given configurations. |
public static JobConf createFrom(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 JobConf merge(Configuration one, 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.