Class: Google::Cloud::Dataproc::V1::ClusterStatus
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1::ClusterStatus
- 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
Instance Attribute Summary collapse
-
#detail ⇒ String
Output-only.
-
#state ⇒ Google::Cloud::Dataproc::V1::ClusterStatus::State
Output-only.
-
#state_start_time ⇒ Google::Protobuf::Timestamp
Output-only.
-
#substate ⇒ Google::Cloud::Dataproc::V1::ClusterStatus::Substate
Output-only.
Instance Attribute Details
#detail ⇒ String
Returns Output-only. Optional details of cluster's state.
310 311 312 313 314 315 316 317 318 319 320 321 322 323 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 |
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 310 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 module Substate 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 ⇒ Google::Cloud::Dataproc::V1::ClusterStatus::State
Returns Output-only. The cluster's state.
310 311 312 313 314 315 316 317 318 319 320 321 322 323 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 |
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 310 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 module Substate 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_time ⇒ Google::Protobuf::Timestamp
Returns Output-only. Time when this state was entered.
310 311 312 313 314 315 316 317 318 319 320 321 322 323 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 |
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 310 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 module Substate 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 |
#substate ⇒ Google::Cloud::Dataproc::V1::ClusterStatus::Substate
Returns Output-only. Additional state information that includes status reported by the agent.
310 311 312 313 314 315 316 317 318 319 320 321 322 323 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 |
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 310 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 module Substate 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 |