Google Cloud Dataproc V1 Client - Class State (3.11.0)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class State.

The job state.

Protobuf type google.cloud.dataproc.v1.JobStatus.State

Namespace

Google \ Cloud \ Dataproc \ V1 \ JobStatus

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

The job state is unknown.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

PENDING

Value: 1

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

Generated from protobuf enum PENDING = 1;

SETUP_DONE

Value: 8

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

Generated from protobuf enum SETUP_DONE = 8;

RUNNING

Value: 2

The job is running on the cluster.

Generated from protobuf enum RUNNING = 2;

CANCEL_PENDING

Value: 3

A CancelJob request has been received, but is pending.

Generated from protobuf enum CANCEL_PENDING = 3;

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.

Generated from protobuf enum CANCEL_STARTED = 7;

CANCELLED

Value: 4

The job cancellation was successful.

Generated from protobuf enum CANCELLED = 4;

DONE

Value: 5

The job has completed successfully.

Generated from protobuf enum DONE = 5;

ERROR

Value: 6

The job has completed, but encountered an error.

Generated from protobuf enum ERROR = 6;

ATTEMPT_FAILURE

Value: 9

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

Applies to restartable jobs only.

Generated from protobuf enum ATTEMPT_FAILURE = 9;