Reference documentation and code samples for the Google Cloud Dataproc V1 Client class State.
The cluster state.
Protobuf type google.cloud.dataproc.v1.ClusterStatus.State
Namespace
Google \ Cloud \ Dataproc \ V1 \ ClusterStatusMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
UNKNOWN
Value: 0
The cluster state is unknown.
Generated from protobuf enum UNKNOWN = 0;
CREATING
Value: 1
The cluster is being created and set up. It is not ready for use.
Generated from protobuf enum CREATING = 1;
RUNNING
Value: 2
The cluster is currently running and healthy. It is ready for use.
Note: The cluster state changes from "creating" to "running" status after the master node(s), first two primary worker nodes (and the last primary worker node if primary workers > 2) are running.
Generated from protobuf enum RUNNING = 2;
ERROR
Value: 3
The cluster encountered an error. It is not ready for use.
Generated from protobuf enum ERROR = 3;
ERROR_DUE_TO_UPDATE
Value: 9
The cluster has encountered an error while being updated. Jobs can be submitted to the cluster, but the cluster cannot be updated.
Generated from protobuf enum ERROR_DUE_TO_UPDATE = 9;
DELETING
Value: 4
The cluster is being deleted. It cannot be used.
Generated from protobuf enum DELETING = 4;
UPDATING
Value: 5
The cluster is being updated. It continues to accept and process jobs.
Generated from protobuf enum UPDATING = 5;
STOPPING
Value: 6
The cluster is being stopped. It cannot be used.
Generated from protobuf enum STOPPING = 6;
STOPPED
Value: 7
The cluster is currently stopped. It is not ready for use.
Generated from protobuf enum STOPPED = 7;
STARTING
Value: 8
The cluster is being started. It is not ready for use.
Generated from protobuf enum STARTING = 8;
REPAIRING
Value: 10
The cluster is being repaired. It is not ready for use.
Generated from protobuf enum REPAIRING = 10;