Class ClusterStatus (5.10.2)

ClusterStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The status of a cluster and its instances.

Attributes

Name Description
state google.cloud.dataproc_v1.types.ClusterStatus.State
Output only. The cluster's state.
detail str
Optional. Output only. Details of cluster's state.
state_start_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time when this state was entered (see JSON representation of Timestamp __).
substate google.cloud.dataproc_v1.types.ClusterStatus.Substate
Output only. Additional state information that includes status reported by the agent.

Classes

State

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.

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.