public final class ZKContext extends Context
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROOT_NODE |
static java.lang.String |
ROOT_NODE_DEFAULT |
static java.lang.String |
SERVER_ADDRESSES |
AURORA_SCRIPT, CHECKPOINT_YAML, CLUSTER, CLUSTER_CONF, CLUSTER_HOME, CORE_YAML, DATA_YAML, defaults, GRAPH_TYPE, HOME, JAVA_HOME, JOB, JOB_ARCHIVE_DIRECTORY, JOB_ID, JOB_NAME, JOB_OBJECT, NETWORK_YAML, OPERATION_NAME, OVERRIDE_YAML, RESOURCE_SCHEDULER_YAML, STREAMING, substitutions, TASK_YAML, TWISTER2_BANDWIDTH, TWISTER2_BIN, TWISTER2_CLUSTER_TYPE, TWISTER2_COMMON_CONF_DIR, TWISTER2_CONF, TWISTER2_CONTAINER_ID, TWISTER2_DIRECT_EDGE, TWISTER2_DIST, TWISTER2_GRAPH_JOB, TWISTER2_HOME, TWISTER2_LATENCY, TWISTER2_LIB, TWISTER2_MAX_TASK_INSTANCES_PER_WORKER, TWISTER2_TASK_INSTANCE_ODD_PARALLELISM, TWISTER2_TSET_JOB, TWISTER2_WORKER_INSTANCES, TWISTER2_WORKER_INSTANCES_DEFAULT, USER_NAME, VERBOSE
Modifier and Type | Method and Description |
---|---|
static boolean |
isZooKeeperServerUsed(Config cfg)
return true if the job is fault tolerant or ZK based group management is used
|
static java.lang.String |
rootNode(Config cfg) |
static java.lang.String |
serverAddresses(Config cfg) |
auroraScript, checkpointCofigurationFile, checkpointConfigurationFile, clusterType, commonConfDir, conf, containerId, dataConfigurationFile, distDirectory, getDefaults, getDoublePropertyValue, getIntPropertyValue, getLongPropertyValue, getStringPropertyValue, isKubernetesCluster, jobId, jobName, libDirectory, networkConfigurationFile, resourceSchedulerConfigurationFile, systemConfigurationFile, taskConfigurationFile, twister2Home, userName, verbose, workerInstances
public static final java.lang.String ROOT_NODE
public static final java.lang.String ROOT_NODE_DEFAULT
public static final java.lang.String SERVER_ADDRESSES
public static java.lang.String rootNode(Config cfg)
public static java.lang.String serverAddresses(Config cfg)
public static boolean isZooKeeperServerUsed(Config cfg)
cfg
-