**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 (3):
The cluster encountered an error. It is not
ready for use.
ERROR_DUE_TO_UPDATE (9):
The cluster has encountered an error while
being updated. Jobs can be submitted to the
cluster, but the cluster cannot be updated.
DELETING (4):
The cluster is being deleted. It cannot be
used.
UPDATING (5):
The cluster is being updated. It continues to
accept and process jobs.
STOPPING (6):
The cluster is being stopped. It cannot be
used.
STOPPED (7):
The cluster is currently stopped. It is not
ready for use.
STARTING (8):
The cluster is being started. It is not ready
for use.
REPAIRING (10):
The cluster is being repaired. It is not
ready for use.
Substate
Substate(value)
The cluster substate.
Applies to RUNNING state.
STALE_STATUS (2):
The agent-reported status is out of date (may
occur if Dataproc loses communication with
Agent).
Applies to RUNNING state.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Class ClusterStatus (5.21.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.21.0 (latest)](/python/docs/reference/dataproc/latest/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.20.0](/python/docs/reference/dataproc/5.20.0/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.18.1](/python/docs/reference/dataproc/5.18.1/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.17.1](/python/docs/reference/dataproc/5.17.1/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.16.0](/python/docs/reference/dataproc/5.16.0/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.15.1](/python/docs/reference/dataproc/5.15.1/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.14.0](/python/docs/reference/dataproc/5.14.0/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.13.0](/python/docs/reference/dataproc/5.13.0/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.12.0](/python/docs/reference/dataproc/5.12.0/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.10.2](/python/docs/reference/dataproc/5.10.2/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.9.3](/python/docs/reference/dataproc/5.9.3/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.8.0](/python/docs/reference/dataproc/5.8.0/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.7.0](/python/docs/reference/dataproc/5.7.0/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.6.0](/python/docs/reference/dataproc/5.6.0/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.5.1](/python/docs/reference/dataproc/5.5.1/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.4.3](/python/docs/reference/dataproc/5.4.3/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.3.0](/python/docs/reference/dataproc/5.3.0/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.2.0](/python/docs/reference/dataproc/5.2.0/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.1.0](/python/docs/reference/dataproc/5.1.0/google.cloud.dataproc_v1.types.ClusterStatus)\n- [5.0.3](/python/docs/reference/dataproc/5.0.3/google.cloud.dataproc_v1.types.ClusterStatus)\n- [4.0.3](/python/docs/reference/dataproc/4.0.3/google.cloud.dataproc_v1.types.ClusterStatus)\n- [3.3.2](/python/docs/reference/dataproc/3.3.2/google.cloud.dataproc_v1.types.ClusterStatus)\n- [3.2.0](/python/docs/reference/dataproc/3.2.0/google.cloud.dataproc_v1.types.ClusterStatus)\n- [3.1.1](/python/docs/reference/dataproc/3.1.1/google.cloud.dataproc_v1.types.ClusterStatus)\n- [3.0.0](/python/docs/reference/dataproc/3.0.0/google.cloud.dataproc_v1.types.ClusterStatus)\n- [2.6.2](/python/docs/reference/dataproc/2.6.2/google.cloud.dataproc_v1.types.ClusterStatus)\n- [2.5.0](/python/docs/reference/dataproc/2.5.0/google.cloud.dataproc_v1.types.ClusterStatus)\n- [2.4.0](/python/docs/reference/dataproc/2.4.0/google.cloud.dataproc_v1.types.ClusterStatus)\n- [2.3.1](/python/docs/reference/dataproc/2.3.1/google.cloud.dataproc_v1.types.ClusterStatus)\n- [2.2.0](/python/docs/reference/dataproc/2.2.0/google.cloud.dataproc_v1.types.ClusterStatus)\n- [2.0.2](/python/docs/reference/dataproc/2.0.2/google.cloud.dataproc_v1.types.ClusterStatus)\n- [1.1.3](/python/docs/reference/dataproc/1.1.3/google.cloud.dataproc_v1.types.ClusterStatus)\n- [1.0.1](/python/docs/reference/dataproc/1.0.1/google.cloud.dataproc_v1.types.ClusterStatus)\n- [0.8.2](/python/docs/reference/dataproc/0.8.2/google.cloud.dataproc_v1.types.ClusterStatus)\n- [0.7.0](/python/docs/reference/dataproc/0.7.0/google.cloud.dataproc_v1.types.ClusterStatus)\n- [0.6.1](/python/docs/reference/dataproc/0.6.1/google.cloud.dataproc_v1.types.ClusterStatus)\n- [0.5.0](/python/docs/reference/dataproc/0.5.0/google.cloud.dataproc_v1.types.ClusterStatus) \n\n ClusterStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nThe status of a cluster and its instances.\n\nClasses\n-------\n\n### State\n\n State(value)\n\nThe cluster state. \n\n **Note:** The cluster state changes from \"creating\" to\n \"running\" status after the master node(s), first two primary\n worker nodes (and the last primary worker node if primary\n workers \u003e 2) are running.\n ERROR (3):\n The cluster encountered an error. It is not\n ready for use.\n ERROR_DUE_TO_UPDATE (9):\n The cluster has encountered an error while\n being updated. Jobs can be submitted to the\n cluster, but the cluster cannot be updated.\n DELETING (4):\n The cluster is being deleted. It cannot be\n used.\n UPDATING (5):\n The cluster is being updated. It continues to\n accept and process jobs.\n STOPPING (6):\n The cluster is being stopped. It cannot be\n used.\n STOPPED (7):\n The cluster is currently stopped. It is not\n ready for use.\n STARTING (8):\n The cluster is being started. It is not ready\n for use.\n REPAIRING (10):\n The cluster is being repaired. It is not\n ready for use.\n\n### Substate\n\n Substate(value)\n\nThe cluster substate. \n\n Applies to RUNNING state.\n STALE_STATUS (2):\n The agent-reported status is out of date (may\n occur if Dataproc loses communication with\n Agent).\n\n Applies to RUNNING state."]]