public final class MawoConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AUTO_SHUTDOWN_WORKERS
Property for setting auto shutdown for worker.
|
static String |
CLUSTER_MANAGER_URL
Property for resource manager url.
|
static String |
CONFIG_FILE
MaWo config file name.
|
static String |
JOB_BUILDER_CLASS
Property for setting job builder class.
|
static String |
MASTER_TASKS_STATUS_LOG_PATH
Property for task status log path in master node.
|
Constructor and Description |
---|
MawoConfiguration()
Mowo configuration initializer.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAutoShutdownWorkers()
Check if worker auto shutdown feature is enabled.
|
String |
getClusterManagerURL()
Get cluster manager URL.
|
Map<String,String> |
getConfigsMap()
Get MaWo config map.
|
String |
getJobBuilderClass()
Get job builder class.
|
boolean |
getJobQueueStorageEnabled()
Check if Job Queue Storage is Enabled.
|
long |
getMasterDrainEventsTimeout()
Get Master drain event timeout.
|
String |
getMasterTasksStatusLogPath()
Get Task status log file path on master host.
|
String |
getRpcHostName()
Get RPC Host map.
|
int |
getRpcServerPort()
Get MaWo RPC server Port.
|
long |
getTeardownWorkerValidityInterval()
Get Teardown worker validity interval.
|
int |
getWorkerConcurrentTasksLimit()
Get number of tasks a worker can run in parallel.
|
List<String> |
getWorkerWhiteListEnv()
Get Worker whitelist env params.
|
String |
getWorkerWorkSpace()
Get worker work space.
|
String |
getZKAcl()
Get ZooKeeper Acls.
|
String |
getZKAddress()
Get ZooKeeper Address.
|
String |
getZKParentPath()
Get ZooKeeper parent Path.
|
int |
getZKRetriesNum()
Get ZooKeeper retries number.
|
int |
getZKRetryIntervalMS()
Get ZooKeeper retry interval value in milli seconds.
|
int |
getZKSessionTimeoutMS()
Get ZooKeeper session timeout in milli seconds.
|
public static final String CONFIG_FILE
public static final String JOB_BUILDER_CLASS
public static final String CLUSTER_MANAGER_URL
public static final String AUTO_SHUTDOWN_WORKERS
public static final String MASTER_TASKS_STATUS_LOG_PATH
public Map<String,String> getConfigsMap()
public int getRpcServerPort()
public String getRpcHostName()
public boolean getJobQueueStorageEnabled()
public String getZKAddress()
public String getZKParentPath()
public int getZKRetryIntervalMS()
public int getZKSessionTimeoutMS()
public int getZKRetriesNum()
public String getZKAcl()
public int getWorkerConcurrentTasksLimit()
public String getJobBuilderClass()
public String getWorkerWorkSpace()
public String getClusterManagerURL()
public boolean getAutoShutdownWorkers()
public String getMasterTasksStatusLogPath()
public long getMasterDrainEventsTimeout()
public List<String> getWorkerWhiteListEnv()
public long getTeardownWorkerValidityInterval()
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.