Class State (5.10.2)

State(value)

The cluster state.

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

Enums

Name Description
UNKNOWN The cluster state is unknown.
CREATING The cluster is being created and set up. It is not ready for use.
RUNNING The cluster is currently running and healthy. It is ready for use.