state property

String? state
getter/setter pair

The cluster's state.

Output only. Possible string values are:

  • "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.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" : The cluster encountered an error. It is not ready for use.
  • "ERROR_DUE_TO_UPDATE" : The cluster has encountered an error while being updated. Jobs can be submitted to the cluster, but the cluster cannot be updated.
  • "DELETING" : The cluster is being deleted. It cannot be used.
  • "UPDATING" : The cluster is being updated. It continues to accept and process jobs.
  • "STOPPING" : The cluster is being stopped. It cannot be used.
  • "STOPPED" : The cluster is currently stopped. It is not ready for use.
  • "STARTING" : The cluster is being started. It is not ready for use.
  • "REPAIRING" : The cluster is being repaired. It is not ready for use.

Implementation

core.String? state;