Class: Google::Cloud::Dataproc::V1::ClusterStatus

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb

Overview

The status of a cluster and its instances.

Defined Under Namespace

Modules: State, Substate

Instance Attribute Summary collapse

Instance Attribute Details

#detailString

Returns Output only. Optional details of cluster's state.

Returns:

  • (String)

    Output only. Optional details of cluster's state.



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 324

class ClusterStatus
  # The cluster state.
  module State
    # The cluster state is unknown.
    UNKNOWN = 0

    # The cluster is being created and set up. It is not ready for use.
    CREATING = 1

    # The cluster is currently running and healthy. It is ready for use.
    RUNNING = 2

    # The cluster encountered an error. It is not ready for use.
    ERROR = 3

    # The cluster is being deleted. It cannot be used.
    DELETING = 4

    # The cluster is being updated. It continues to accept and process jobs.
    UPDATING = 5
  end

  # The cluster substate.
  module Substate
    # The cluster substate is unknown.
    UNSPECIFIED = 0

    # The cluster is known to be in an unhealthy state
    # (for example, critical daemons are not running or HDFS capacity is
    # exhausted).
    #
    # Applies to RUNNING state.
    UNHEALTHY = 1

    # The agent-reported status is out of date (may occur if
    # Cloud Dataproc loses communication with Agent).
    #
    # Applies to RUNNING state.
    STALE_STATUS = 2
  end
end

#stateGoogle::Cloud::Dataproc::V1::ClusterStatus::State

Returns Output only. The cluster's state.

Returns:



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 324

class ClusterStatus
  # The cluster state.
  module State
    # The cluster state is unknown.
    UNKNOWN = 0

    # The cluster is being created and set up. It is not ready for use.
    CREATING = 1

    # The cluster is currently running and healthy. It is ready for use.
    RUNNING = 2

    # The cluster encountered an error. It is not ready for use.
    ERROR = 3

    # The cluster is being deleted. It cannot be used.
    DELETING = 4

    # The cluster is being updated. It continues to accept and process jobs.
    UPDATING = 5
  end

  # The cluster substate.
  module Substate
    # The cluster substate is unknown.
    UNSPECIFIED = 0

    # The cluster is known to be in an unhealthy state
    # (for example, critical daemons are not running or HDFS capacity is
    # exhausted).
    #
    # Applies to RUNNING state.
    UNHEALTHY = 1

    # The agent-reported status is out of date (may occur if
    # Cloud Dataproc loses communication with Agent).
    #
    # Applies to RUNNING state.
    STALE_STATUS = 2
  end
end

#state_start_timeGoogle::Protobuf::Timestamp

Returns Output only. Time when this state was entered.

Returns:



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 324

class ClusterStatus
  # The cluster state.
  module State
    # The cluster state is unknown.
    UNKNOWN = 0

    # The cluster is being created and set up. It is not ready for use.
    CREATING = 1

    # The cluster is currently running and healthy. It is ready for use.
    RUNNING = 2

    # The cluster encountered an error. It is not ready for use.
    ERROR = 3

    # The cluster is being deleted. It cannot be used.
    DELETING = 4

    # The cluster is being updated. It continues to accept and process jobs.
    UPDATING = 5
  end

  # The cluster substate.
  module Substate
    # The cluster substate is unknown.
    UNSPECIFIED = 0

    # The cluster is known to be in an unhealthy state
    # (for example, critical daemons are not running or HDFS capacity is
    # exhausted).
    #
    # Applies to RUNNING state.
    UNHEALTHY = 1

    # The agent-reported status is out of date (may occur if
    # Cloud Dataproc loses communication with Agent).
    #
    # Applies to RUNNING state.
    STALE_STATUS = 2
  end
end

#substateGoogle::Cloud::Dataproc::V1::ClusterStatus::Substate

Returns Output only. Additional state information that includes status reported by the agent.

Returns:



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 324

class ClusterStatus
  # The cluster state.
  module State
    # The cluster state is unknown.
    UNKNOWN = 0

    # The cluster is being created and set up. It is not ready for use.
    CREATING = 1

    # The cluster is currently running and healthy. It is ready for use.
    RUNNING = 2

    # The cluster encountered an error. It is not ready for use.
    ERROR = 3

    # The cluster is being deleted. It cannot be used.
    DELETING = 4

    # The cluster is being updated. It continues to accept and process jobs.
    UPDATING = 5
  end

  # The cluster substate.
  module Substate
    # The cluster substate is unknown.
    UNSPECIFIED = 0

    # The cluster is known to be in an unhealthy state
    # (for example, critical daemons are not running or HDFS capacity is
    # exhausted).
    #
    # Applies to RUNNING state.
    UNHEALTHY = 1

    # The agent-reported status is out of date (may occur if
    # Cloud Dataproc loses communication with Agent).
    #
    # Applies to RUNNING state.
    STALE_STATUS = 2
  end
end