Cloud Dataproc V1 API - Module Google::Cloud::Dataproc::V1::JobStatus::State (v1.0.0)

Reference documentation and code samples for the Cloud Dataproc V1 API module Google::Cloud::Dataproc::V1::JobStatus::State.

The job state.

Constants

STATE_UNSPECIFIED

value: 0
The job state is unknown.

PENDING

value: 1
The job is pending; it has been submitted, but is not yet running.

SETUP_DONE

value: 8
Job has been received by the service and completed initial setup; it will soon be submitted to the cluster.

RUNNING

value: 2
The job is running on the cluster.

CANCEL_PENDING

value: 3
A CancelJob request has been received, but is pending.

CANCEL_STARTED

value: 7
Transient in-flight resources have been canceled, and the request to cancel the running job has been issued to the cluster.

CANCELLED

value: 4
The job cancellation was successful.

DONE

value: 5
The job has completed successfully.

ERROR

value: 6
The job has completed, but encountered an error.

ATTEMPT_FAILURE

value: 9
Job attempt has failed. The detail field contains failure details for this attempt.

Applies to restartable jobs only.