Package com.netflix.genie.common.dto
Class JobStatusMessages
- java.lang.Object
-
- com.netflix.genie.common.dto.JobStatusMessages
-
public final class JobStatusMessages extends java.lang.Object
Constant strings for status message attached to a job after it terminates.- Since:
- 3.0.7
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FAILED_AGENT_CONFIGURATION
The agent failed to configure itself, probably due to invalid command-line arguments.static java.lang.String
FAILED_AGENT_SERVER_HANDSHAKE
The server refused to let the agent run a job, refusal is based on agent version or hostname.static java.lang.String
FAILED_AGENT_STARTUP
The agent failed to start up (before any job-specific action is taken).static java.lang.String
FAILED_TO_CLAIM_JOB
Agent failed to claim job id, job record does not exist, it is not in a state where it can be claimed.static java.lang.String
FAILED_TO_CREATE_JOB_DIRECTORY
The agent failed to create a directory for the job.static java.lang.String
FAILED_TO_CREATE_JOB_SCRIPT
The agent failed to compose or write a job script.static java.lang.String
FAILED_TO_DOWNLOAD_DEPENDENCIES
The agent failed to download dependencies.static java.lang.String
FAILED_TO_LAUNCH_JOB
The agent encountered an error while attempting to launch the job process.static java.lang.String
FAILED_TO_OBTAIN_JOB_SPECIFICATION
The agent could not retrieve the job specifications.static java.lang.String
FAILED_TO_RESERVE_JOB_ID
The agent failed to reserve the job id, possibly because it is already in use.static java.lang.String
FAILED_TO_RESOLVE_JOB
Could not resolve the job.static java.lang.String
FAILED_TO_START_SERVICE
The agent failed to initialize a required runtime service (file stream, heartbeat, kill).static java.lang.String
FAILED_TO_UPDATE_STATUS
The agent failed to update the persisted job status via server.static java.lang.String
FAILED_TO_WAIT_FOR_JOB_COMPLETION
The agent encountered an unhandled error while waiting for the job process to complete.static java.lang.String
JOB_EXCEEDED_FILES_LIMIT
Job killed because a limit related to the size of the directory was exceeded.static java.lang.String
JOB_EXCEEDED_TIMEOUT
Job killed because maximum run time was exceeded.static java.lang.String
JOB_FAILED
Job terminated with non-zero exit code.static java.lang.String
JOB_FINISHED_SUCCESSFULLY
Job completed successfully.static java.lang.String
JOB_INITIALIZING
The message for when the agent is preparing to launch the job.static java.lang.String
JOB_KILLED_BY_SYSTEM
Job killed by system.static java.lang.String
JOB_KILLED_BY_USER
Job killed by user.static java.lang.String
JOB_MARKED_FAILED
While job was running, server status was set to something else (probably marked failed by the leader after the agent was disconnected for too long).static java.lang.String
JOB_RUNNING
The status message while a job is actively running.static java.lang.String
JOB_SETUP_FAILED
Job failed in in the setup portion of the run script (setting environment or running resources setup scripts).static java.lang.String
RESOLUTION_RUNTIME_ERROR
Job resolution fails due to runtime error (i.e.static java.lang.String
UNKNOWN_JOB_STATE
The agent could not determine what state the job is in.
-
-
-
Field Detail
-
JOB_INITIALIZING
public static final java.lang.String JOB_INITIALIZING
The message for when the agent is preparing to launch the job.- See Also:
- Constant Field Values
-
JOB_RUNNING
public static final java.lang.String JOB_RUNNING
The status message while a job is actively running.- See Also:
- Constant Field Values
-
JOB_EXCEEDED_TIMEOUT
public static final java.lang.String JOB_EXCEEDED_TIMEOUT
Job killed because maximum run time was exceeded.- See Also:
- Constant Field Values
-
JOB_EXCEEDED_FILES_LIMIT
public static final java.lang.String JOB_EXCEEDED_FILES_LIMIT
Job killed because a limit related to the size of the directory was exceeded.- See Also:
- Constant Field Values
-
JOB_KILLED_BY_USER
public static final java.lang.String JOB_KILLED_BY_USER
Job killed by user.- See Also:
- Constant Field Values
-
JOB_KILLED_BY_SYSTEM
public static final java.lang.String JOB_KILLED_BY_SYSTEM
Job killed by system.- See Also:
- Constant Field Values
-
JOB_FINISHED_SUCCESSFULLY
public static final java.lang.String JOB_FINISHED_SUCCESSFULLY
Job completed successfully.- See Also:
- Constant Field Values
-
JOB_FAILED
public static final java.lang.String JOB_FAILED
Job terminated with non-zero exit code.- See Also:
- Constant Field Values
-
JOB_SETUP_FAILED
public static final java.lang.String JOB_SETUP_FAILED
Job failed in in the setup portion of the run script (setting environment or running resources setup scripts).- See Also:
- Constant Field Values
-
FAILED_TO_CLAIM_JOB
public static final java.lang.String FAILED_TO_CLAIM_JOB
Agent failed to claim job id, job record does not exist, it is not in a state where it can be claimed.- See Also:
- Constant Field Values
-
FAILED_TO_CREATE_JOB_DIRECTORY
public static final java.lang.String FAILED_TO_CREATE_JOB_DIRECTORY
The agent failed to create a directory for the job.- See Also:
- Constant Field Values
-
FAILED_TO_CREATE_JOB_SCRIPT
public static final java.lang.String FAILED_TO_CREATE_JOB_SCRIPT
The agent failed to compose or write a job script.- See Also:
- Constant Field Values
-
FAILED_TO_DOWNLOAD_DEPENDENCIES
public static final java.lang.String FAILED_TO_DOWNLOAD_DEPENDENCIES
The agent failed to download dependencies. They may not exist, or the agent may not have the required permission to read them or write them on local disk.- See Also:
- Constant Field Values
-
FAILED_AGENT_SERVER_HANDSHAKE
public static final java.lang.String FAILED_AGENT_SERVER_HANDSHAKE
The server refused to let the agent run a job, refusal is based on agent version or hostname.- See Also:
- Constant Field Values
-
FAILED_TO_LAUNCH_JOB
public static final java.lang.String FAILED_TO_LAUNCH_JOB
The agent encountered an error while attempting to launch the job process.- See Also:
- Constant Field Values
-
FAILED_TO_RESERVE_JOB_ID
public static final java.lang.String FAILED_TO_RESERVE_JOB_ID
The agent failed to reserve the job id, possibly because it is already in use.- See Also:
- Constant Field Values
-
FAILED_TO_WAIT_FOR_JOB_COMPLETION
public static final java.lang.String FAILED_TO_WAIT_FOR_JOB_COMPLETION
The agent encountered an unhandled error while waiting for the job process to complete.- See Also:
- Constant Field Values
-
UNKNOWN_JOB_STATE
public static final java.lang.String UNKNOWN_JOB_STATE
The agent could not determine what state the job is in.- See Also:
- Constant Field Values
-
FAILED_TO_UPDATE_STATUS
public static final java.lang.String FAILED_TO_UPDATE_STATUS
The agent failed to update the persisted job status via server.- See Also:
- Constant Field Values
-
FAILED_AGENT_STARTUP
public static final java.lang.String FAILED_AGENT_STARTUP
The agent failed to start up (before any job-specific action is taken).- See Also:
- Constant Field Values
-
FAILED_TO_OBTAIN_JOB_SPECIFICATION
public static final java.lang.String FAILED_TO_OBTAIN_JOB_SPECIFICATION
The agent could not retrieve the job specifications. Could mean it does not exist or cannot be resolved.- See Also:
- Constant Field Values
-
FAILED_TO_START_SERVICE
public static final java.lang.String FAILED_TO_START_SERVICE
The agent failed to initialize a required runtime service (file stream, heartbeat, kill).- See Also:
- Constant Field Values
-
FAILED_AGENT_CONFIGURATION
public static final java.lang.String FAILED_AGENT_CONFIGURATION
The agent failed to configure itself, probably due to invalid command-line arguments.- See Also:
- Constant Field Values
-
FAILED_TO_RESOLVE_JOB
public static final java.lang.String FAILED_TO_RESOLVE_JOB
Could not resolve the job.- See Also:
- Constant Field Values
-
JOB_MARKED_FAILED
public static final java.lang.String JOB_MARKED_FAILED
While job was running, server status was set to something else (probably marked failed by the leader after the agent was disconnected for too long).- See Also:
- Constant Field Values
-
RESOLUTION_RUNTIME_ERROR
public static final java.lang.String RESOLUTION_RUNTIME_ERROR
Job resolution fails due to runtime error (i.e. NOT due to unsatisfiable constraints).- See Also:
- Constant Field Values
-
-