public static final class VortexJobConf.Builder extends Object implements Builder<VortexJobConf>
VortexJobConf.| Modifier and Type | Method and Description |
|---|---|
VortexJobConf |
build()
Instantiate a
VortexJobConf object, where a Configuration is built by Tang internally. |
VortexJobConf.Builder |
setJobName(String jobName) |
VortexJobConf.Builder |
setUserConf(Configuration userConf) |
VortexJobConf.Builder |
setVortexMasterConf(Configuration vortexMasterConf) |
public VortexJobConf.Builder setVortexMasterConf(Configuration vortexMasterConf)
vortexMasterConf - Configuration for the Vortex Master, which can be built via VortexMasterConf.public VortexJobConf.Builder setUserConf(Configuration userConf)
userConf - Configuration set by user (e.g., Parameters in VortexStartpublic VortexJobConf.Builder setJobName(String jobName)
jobName - Name of the job which is assigned to the Driver.public VortexJobConf build()
VortexJobConf object, where a Configuration is built by Tang internally.
IllegalArgumentException will be thrown if required parameters are not set
(See setJobName(String) and setVortexMasterConf(Configuration)).
Also, BindException can be thrown while merging the configurations.build in interface Builder<VortexJobConf>Copyright © 2016 The Apache Software Foundation. All rights reserved.