Class JobStatusMessages

java.lang.Object
com.netflix.genie.common.dto.JobStatusMessages

public final class JobStatusMessages extends Object
Constant strings for status message attached to a job after it terminates.
Since:
3.0.7
  • Field Details

    • JOB_INITIALIZING

      public static final String JOB_INITIALIZING
      The message for when the agent is preparing to launch the job.
      See Also:
    • JOB_RUNNING

      public static final String JOB_RUNNING
      The status message while a job is actively running.
      See Also:
    • JOB_EXCEEDED_TIMEOUT

      public static final String JOB_EXCEEDED_TIMEOUT
      Job killed because maximum run time was exceeded.
      See Also:
    • JOB_EXCEEDED_FILES_LIMIT

      public static final String JOB_EXCEEDED_FILES_LIMIT
      Job killed because a limit related to the size of the directory was exceeded.
      See Also:
    • JOB_KILLED_BY_USER

      public static final String JOB_KILLED_BY_USER
      Job killed by user.
      See Also:
    • JOB_KILLED_BY_SYSTEM

      public static final String JOB_KILLED_BY_SYSTEM
      Job killed by system.
      See Also:
    • JOB_FINISHED_SUCCESSFULLY

      public static final String JOB_FINISHED_SUCCESSFULLY
      Job completed successfully.
      See Also:
    • JOB_FAILED

      public static final String JOB_FAILED
      Job terminated with non-zero exit code.
      See Also:
    • JOB_SETUP_FAILED

      public static final String JOB_SETUP_FAILED
      Job failed in in the setup portion of the run script (setting environment or running resources setup scripts).
      See Also:
    • FAILED_TO_CLAIM_JOB

      public static final 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:
    • FAILED_TO_CREATE_JOB_DIRECTORY

      public static final String FAILED_TO_CREATE_JOB_DIRECTORY
      The agent failed to create a directory for the job.
      See Also:
    • FAILED_TO_CREATE_JOB_SCRIPT

      public static final String FAILED_TO_CREATE_JOB_SCRIPT
      The agent failed to compose or write a job script.
      See Also:
    • FAILED_TO_DOWNLOAD_DEPENDENCIES

      public static final 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:
    • FAILED_AGENT_SERVER_HANDSHAKE

      public static final 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:
    • FAILED_TO_LAUNCH_JOB

      public static final String FAILED_TO_LAUNCH_JOB
      The agent encountered an error while attempting to launch the job process.
      See Also:
    • FAILED_TO_RESERVE_JOB_ID

      public static final String FAILED_TO_RESERVE_JOB_ID
      The agent failed to reserve the job id, possibly because it is already in use.
      See Also:
    • FAILED_TO_WAIT_FOR_JOB_COMPLETION

      public static final String FAILED_TO_WAIT_FOR_JOB_COMPLETION
      The agent encountered an unhandled error while waiting for the job process to complete.
      See Also:
    • UNKNOWN_JOB_STATE

      public static final String UNKNOWN_JOB_STATE
      The agent could not determine what state the job is in.
      See Also:
    • FAILED_TO_UPDATE_STATUS

      public static final String FAILED_TO_UPDATE_STATUS
      The agent failed to update the persisted job status via server.
      See Also:
    • FAILED_AGENT_STARTUP

      public static final String FAILED_AGENT_STARTUP
      The agent failed to start up (before any job-specific action is taken).
      See Also:
    • FAILED_TO_OBTAIN_JOB_SPECIFICATION

      public static final 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:
    • FAILED_TO_START_SERVICE

      public static final String FAILED_TO_START_SERVICE
      The agent failed to initialize a required runtime service (file stream, heartbeat, kill).
      See Also:
    • FAILED_AGENT_CONFIGURATION

      public static final String FAILED_AGENT_CONFIGURATION
      The agent failed to configure itself, probably due to invalid command-line arguments.
      See Also:
    • FAILED_TO_RESOLVE_JOB

      public static final String FAILED_TO_RESOLVE_JOB
      Could not resolve the job.
      See Also:
    • JOB_MARKED_FAILED

      public static final 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:
    • RESOLUTION_RUNTIME_ERROR

      public static final String RESOLUTION_RUNTIME_ERROR
      Job resolution fails due to runtime error (i.e. NOT due to unsatisfiable constraints).
      See Also: