Class JobConstants
java.lang.Object
com.netflix.genie.common.internal.jobs.JobConstants
A class holding some constants to be used everywhere.
- Since:
- 3.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
File Path prefix to be used while creating directories for application files to local dir.static final String
File Path prefix to be used while creating directories for cluster files to local dir.static final String
File Path prefix to be used while creating directories for command files to local dir.static final String
File Path prefix to be used while creating paths for config files downloaded by Genie to local dir.static final String
File Path prefix to be used while creating paths for dependency files downloaded by Genie to local dir.static final String
Filename for environment variables dumped after setup.static final String
Genie Agent log file name (after it is relocated inside the job directory).static final String
Environment variable for Genie application directory.static final String
Environment variable for Genie cluster directory.static final String
Environment variable for Genie cluster id.static final String
Environment variable for the Genie cluster name.static final String
Environment variable for the Genie cluster tags.static final String
Environment variable for Genie command directory.static final String
Environment variable for Genie command id.static final String
Environment variable for the Genie command name.static final String
Environment variable for the Genie command tags.static final String
The name of the setup file (for entities that have one) when downloaded in the job directory.static final String
The header to use to mark a forwarded from another Genie node.static final String
Environment variable for Genie job working directory.static final String
Environment variable for Genie Job grouping.static final String
Environment variable for Genie Job grouping instance.static final String
Environment variable for Genie Job ID.static final String
The launcher script name that genie creates to setup a job for running.static final String
Environment variable for Genie Job Memory.static final String
Environment variable for Genie Job Name.static final String
Environment variable for Genie job tags provided by the user.static final String
File Path prefix to be used while creating working directory for jobs.static final String
Environment variable for the Genie cluster criteria tags in the job request.static final String
Environment variable for the Genie command tags in the job request.static final String
The name of the file left behind if the runfile fails during setup (sourcing entities setup scripts).static final String
Filename for logfile generated during setup (sourcing of entities setup files).static final String
Environment variable for the Genie username the job request.static final String
Environment variable for the Genie user group the job request.static final String
Environment variable for Genie version.static final String
The default message to send back to users when the jobs are disabled if there was none other set.static final String
The property name to check for the message to send back to the request user if jobs are currently disabled.static final String
The property name to check whether new job submissions should be allowed.static final String
File Path prefix to be used while creating working directory for jobs.static final String
Stderr Filename generated by Genie after running a job.static final String
Stdout Filename generated by Genie after running a job.static final TimeZone
UTC timezone. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
GENIE_FORWARDED_FROM_HEADER
The header to use to mark a forwarded from another Genie node.- See Also:
-
GENIE_JOB_LAUNCHER_SCRIPT
The launcher script name that genie creates to setup a job for running.- See Also:
-
DEPENDENCY_FILE_PATH_PREFIX
File Path prefix to be used while creating paths for dependency files downloaded by Genie to local dir.- See Also:
-
CONFIG_FILE_PATH_PREFIX
File Path prefix to be used while creating paths for config files downloaded by Genie to local dir.- See Also:
-
STDERR_LOG_FILE_NAME
Stderr Filename generated by Genie after running a job.- See Also:
-
STDOUT_LOG_FILE_NAME
Stdout Filename generated by Genie after running a job.- See Also:
-
GENIE_SETUP_LOG_FILE_NAME
Filename for logfile generated during setup (sourcing of entities setup files).- See Also:
-
GENIE_AGENT_ENV_FILE_NAME
Filename for environment variables dumped after setup.- See Also:
-
GENIE_AGENT_LOG_FILE_NAME
Genie Agent log file name (after it is relocated inside the job directory).- See Also:
-
APPLICATION_PATH_VAR
File Path prefix to be used while creating directories for application files to local dir.- See Also:
-
COMMAND_PATH_VAR
File Path prefix to be used while creating directories for command files to local dir.- See Also:
-
CLUSTER_PATH_VAR
File Path prefix to be used while creating directories for cluster files to local dir.- See Also:
-
GENIE_PATH_VAR
File Path prefix to be used while creating working directory for jobs.- See Also:
-
LOGS_PATH_VAR
File Path prefix to be used while creating working directory for jobs.- See Also:
-
GENIE_JOB_DIR_ENV_VAR
Environment variable for Genie job working directory.- See Also:
-
GENIE_CLUSTER_DIR_ENV_VAR
Environment variable for Genie cluster directory.- See Also:
-
GENIE_CLUSTER_ID_ENV_VAR
Environment variable for Genie cluster id.- See Also:
-
GENIE_CLUSTER_NAME_ENV_VAR
Environment variable for the Genie cluster name.- See Also:
-
GENIE_CLUSTER_TAGS_ENV_VAR
Environment variable for the Genie cluster tags.- See Also:
-
GENIE_COMMAND_DIR_ENV_VAR
Environment variable for Genie command directory.- See Also:
-
GENIE_COMMAND_ID_ENV_VAR
Environment variable for Genie command id.- See Also:
-
GENIE_COMMAND_NAME_ENV_VAR
Environment variable for the Genie command name.- See Also:
-
GENIE_COMMAND_TAGS_ENV_VAR
Environment variable for the Genie command tags.- See Also:
-
GENIE_APPLICATION_DIR_ENV_VAR
Environment variable for Genie application directory.- See Also:
-
GENIE_JOB_ID_ENV_VAR
Environment variable for Genie Job ID.- See Also:
-
GENIE_JOB_NAME_ENV_VAR
Environment variable for Genie Job Name.- See Also:
-
GENIE_JOB_MEMORY_ENV_VAR
Environment variable for Genie Job Memory.- See Also:
-
GENIE_JOB_TAGS_ENV_VAR
Environment variable for Genie job tags provided by the user.- See Also:
-
GENIE_JOB_GROUPING_ENV_VAR
Environment variable for Genie Job grouping.- See Also:
-
GENIE_JOB_GROUPING_INSTANCE_ENV_VAR
Environment variable for Genie Job grouping instance.- See Also:
-
GENIE_REQUESTED_COMMAND_TAGS_ENV_VAR
Environment variable for the Genie command tags in the job request.- See Also:
-
GENIE_REQUESTED_CLUSTER_TAGS_ENV_VAR
Environment variable for the Genie cluster criteria tags in the job request.- See Also:
-
GENIE_VERSION_ENV_VAR
Environment variable for Genie version.- See Also:
-
GENIE_USER_ENV_VAR
Environment variable for the Genie username the job request.- See Also:
-
GENIE_USER_GROUP_ENV_VAR
Environment variable for the Genie user group the job request.- See Also:
-
UTC
UTC timezone. -
JOB_SUBMISSION_ENABLED_PROPERTY_KEY
The property name to check whether new job submissions should be allowed.- See Also:
-
JOB_SUBMISSION_DISABLED_MESSAGE_KEY
The property name to check for the message to send back to the request user if jobs are currently disabled.- See Also:
-
JOB_SUBMISSION_DISABLED_DEFAULT_MESSAGE
The default message to send back to users when the jobs are disabled if there was none other set.- See Also:
-
GENIE_ENTITY_SETUP_SCRIPT_FILE_NAME
The name of the setup file (for entities that have one) when downloaded in the job directory.- See Also:
-
GENIE_SETUP_ERROR_FILE_NAME
The name of the file left behind if the runfile fails during setup (sourcing entities setup scripts).- See Also:
-
-
Constructor Details
-
JobConstants
protected JobConstants()Protected constructor for utility class.
-