Class JobStatus (5.9.3)

JobStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Dataproc job status.


Output only. A state message specifying the overall job state.
details str
Optional. Output only. Job state details, such as an error description if the state is ERROR.
state_start_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when this state was entered.
Output only. Additional state information, which includes status reported by the agent.




The job state.

Values: STATE_UNSPECIFIED (0): The job state is unknown. PENDING (1): The job is pending; it has been submitted, but is not yet running. SETUP_DONE (8): Job has been received by the service and completed initial setup; it will soon be submitted to the cluster. RUNNING (2): The job is running on the cluster. CANCEL_PENDING (3): A CancelJob request has been received, but is pending. CANCEL_STARTED (7): Transient in-flight resources have been canceled, and the request to cancel the running job has been issued to the cluster. CANCELLED (4): The job cancellation was successful. DONE (5): The job has completed successfully. ERROR (6): The job has completed, but encountered an error. ATTEMPT_FAILURE (9): Job attempt has failed. The detail field contains failure details for this attempt.

    Applies to restartable jobs only.



The job substate.

Values: UNSPECIFIED (0): The job substate is unknown. SUBMITTED (1): The Job is submitted to the agent.

    Applies to RUNNING state.
    The Job has been received and is awaiting
    execution (it may be waiting for a condition to
    be met). See the "details" field for the reason
    for the delay.

    Applies to RUNNING state.
    The agent-reported status is out of date,
    which may be caused by a loss of communication
    between the agent and Dataproc. If the agent
    does not send a timely update, the job will

    Applies to RUNNING state.