# Cloud Dataproc V1 API - Module Google::Cloud::Dataproc::V1::ClusterStatus::State (v1.16.0)

1.15.0 (latest) 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.1 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.2 0.26.0 0.25.0 0.24.1 0.23.1 0.22.0 0.21.0 0.20.0 0.19.0 0.18.1 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.1 Reference documentation and code samples for the Cloud Dataproc V1 API module Google::Cloud::Dataproc::V1::ClusterStatus::State.

The cluster state.

## Constants

### UNKNOWN

**value:** 0  
The cluster state is unknown.

### CREATING

**value:** 1  
The cluster is being created and set up. It is not ready for use.

### RUNNING

**value:** 2  
The cluster is currently running and healthy. It is ready for use.


<br />

**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.

### ERROR

**value:** 3  
The cluster encountered an error. It is not ready for use.

### 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.

### DELETING

**value:** 4  
The cluster is being deleted. It cannot be used.

### UPDATING

**value:** 5  
The cluster is being updated. It continues to accept and process jobs.

### STOPPING

**value:** 6  
The cluster is being stopped. It cannot be used.

### STOPPED

**value:** 7  
The cluster is currently stopped. It is not ready for use.

### STARTING

**value:** 8  
The cluster is being started. It is not ready for use.

### REPAIRING

**value:** 10  
The cluster is being repaired. It is not ready for use.