public class NomadContext extends SchedulerContext
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CORE_PACKAGE_ENV |
static java.lang.String |
DOWNLOAD_PACKAGE_ENV |
static java.lang.String |
JOB_PACKAGE_ENV |
static java.lang.String |
LOGGING_SANDBOX |
static java.lang.String |
NOMAD_DEFAULT_DATACENTER |
static java.lang.String |
NOMAD_IMAGE |
static java.lang.String |
NOMAD_JOB_NAME |
static java.lang.String |
NOMAD_SCRIPT_NAME |
static java.lang.String |
NOMAD_SHELL_SCRIPT |
static java.lang.String |
NOMAD_TASK_COMMAND |
static java.lang.String |
NOMAD_TASK_COMMAND_ARGS |
static java.lang.String |
NOMAD_URI |
static java.lang.String |
PORT_NAMES |
static java.lang.String |
SHARED_FILE_SYSTEM |
static java.lang.String |
SHELL_CMD |
static java.lang.String |
WORKING_DIRECTORY_ENV |
ADDITIONAL_PORTS, CLUSTER_TYPE, CONFIG_DIR, COPY_SYSTEM_PACKAGE, CORE_PACKAGE_FILENAME, CORE_PACKAGE_FILENAME_DEFAULT, CORE_PACKAGE_URL, DATACENTER_LABEL_KEY, DATACENTERS_LIST, DEBUG, DOWNLOAD_METHOD, DRIVER_CLASS, JOB_ARCHIVE_TEMP_DIR, JOB_DESCRIPTION_FILE_CMD_VAR, JOB_MASTER_PROVIDED_IP, JOB_PACKAGE_FILENAME, JOB_PACKAGE_FILENAME_DEFAULT, JOB_PACKAGE_URI, JOB_PACKAGE_URL, K8S_CHECK_PODS_REACHABLE, K8S_CHECK_PODS_REACHABLE_DEFAULT, LAUNCHER_CLASS, NETWORK_INTERFACES, NFS_SERVER_ADDRESS, NFS_SERVER_PATH, PERSISTENT_VOLUME_PER_WORKER, PERSISTENT_VOLUME_PER_WORKER_DEFAULT, RACK_LABEL_KEY, RACKS_LIST, SYSTEM_PACKAGE_URI, TEMPORARY_PACKAGES_PATH, THREADS_PER_WORKER, TWISTER_2_HOME, TWISTER2_PACKAGES_PATH, UPLOADER_CLASS, USER_JOB_FILE, USER_JOB_TYPE, WORKER_CLASS, WORKER_COMPUTE_RESOURCES, WORKING_DIRECTORY
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
Constructor and Description |
---|
NomadContext() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.Integer> |
generateAdditionalPorts(Config config,
int workerPort) |
static boolean |
getLoggingSandbox(Config config) |
static java.lang.String |
networkPortNames(Config config) |
static java.lang.String |
nomadSchedulerUri(Config config) |
static boolean |
sharedFileSystem(Config config) |
static java.lang.String |
shellScriptName(Config config) |
static java.lang.String |
workingDirectory(Config config) |
additionalPorts, checkPodsReachable, copySystemPackage, corePackageFileName, corePackageUrl, createJobDescriptionFileName, downloadMethod, driverClass, getJobMasterProvidedIp, getNodeInfo, isLocalFileSystemUploader, jobArchiveTempDirectory, jobPackageFileName, jobPackageUri, jobPackageUrl, launcherClass, networkInterfaces, nfsServerAddress, nfsServerPath, numberOfAdditionalPorts, packagesPath, persistentVolumePerWorker, persistentVolumeRequested, systemPackageUrl, temporaryPackagesPath, uploaderClass, useOpenMPI, userJobJarFile, userJobType, workerClass, workerEndSyncWaitTime
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 WORKING_DIRECTORY_ENV
public static final java.lang.String DOWNLOAD_PACKAGE_ENV
public static final java.lang.String CORE_PACKAGE_ENV
public static final java.lang.String JOB_PACKAGE_ENV
public static final java.lang.String NOMAD_TASK_COMMAND
public static final java.lang.String NOMAD_TASK_COMMAND_ARGS
public static final java.lang.String NOMAD_IMAGE
public static final java.lang.String NOMAD_DEFAULT_DATACENTER
public static final java.lang.String SHELL_CMD
public static final java.lang.String NOMAD_JOB_NAME
public static final java.lang.String PORT_NAMES
public static final java.lang.String SHARED_FILE_SYSTEM
public static final java.lang.String NOMAD_SHELL_SCRIPT
public static final java.lang.String NOMAD_SCRIPT_NAME
public static final java.lang.String NOMAD_URI
public static final java.lang.String LOGGING_SANDBOX
public static java.lang.String workingDirectory(Config config)
public static boolean sharedFileSystem(Config config)
public static java.lang.String networkPortNames(Config config)
public static java.lang.String shellScriptName(Config config)
public static java.lang.String nomadSchedulerUri(Config config)
public static boolean getLoggingSandbox(Config config)
public static java.util.Map<java.lang.String,java.lang.Integer> generateAdditionalPorts(Config config, int workerPort)