Class: Google::Cloud::Dataproc::V1::JobStatus

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

Overview

Cloud Dataproc job status.

Defined Under Namespace

Modules: State, Substate

Instance Attribute Summary collapse

Instance Attribute Details

#detailsString

Returns Output-only. Optional job state details, such as an error description if the state is ERROR.

Returns:

  • (String)

    Output-only. Optional job state details, such as an error description if the state is ERROR.



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
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/jobs.rb', line 313

class JobStatus
  # The job state.
  module State
    # The job state is unknown.
    STATE_UNSPECIFIED = 0

    # The job is pending; it has been submitted, but is not yet running.
    PENDING = 1

    # Job has been received by the service and completed initial setup;
    # it will soon be submitted to the cluster.
    SETUP_DONE = 8

    # The job is running on the cluster.
    RUNNING = 2

    # A CancelJob request has been received, but is pending.
    CANCEL_PENDING = 3

    # Transient in-flight resources have been canceled, and the request to
    # cancel the running job has been issued to the cluster.
    CANCEL_STARTED = 7

    # The job cancellation was successful.
    CANCELLED = 4

    # The job has completed successfully.
    DONE = 5

    # The job has completed, but encountered an error.
    ERROR = 6

    # Job attempt has failed. The detail field contains failure details for
    # this attempt.
    #
    # Applies to restartable jobs only.
    ATTEMPT_FAILURE = 9
  end

  module Substate
    UNSPECIFIED = 0

    # The Job is submitted to the agent.
    #
    # Applies to RUNNING state.
    SUBMITTED = 1

    # The Job has been received and is awaiting execution (it may be waiting
    # for a condition to be met). See the "details" field for the reason for
    # the delay.
    #
    # Applies to RUNNING state.
    QUEUED = 2

    # The agent-reported status is out of date, which may be caused by a
    # loss of communication between the agent and Cloud Dataproc. If the
    # agent does not send a timely update, the job will fail.
    #
    # Applies to RUNNING state.
    STALE_STATUS = 3
  end
end

#stateGoogle::Cloud::Dataproc::V1::JobStatus::State

Returns Output-only. A state message specifying the overall job state.

Returns:



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
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/jobs.rb', line 313

class JobStatus
  # The job state.
  module State
    # The job state is unknown.
    STATE_UNSPECIFIED = 0

    # The job is pending; it has been submitted, but is not yet running.
    PENDING = 1

    # Job has been received by the service and completed initial setup;
    # it will soon be submitted to the cluster.
    SETUP_DONE = 8

    # The job is running on the cluster.
    RUNNING = 2

    # A CancelJob request has been received, but is pending.
    CANCEL_PENDING = 3

    # Transient in-flight resources have been canceled, and the request to
    # cancel the running job has been issued to the cluster.
    CANCEL_STARTED = 7

    # The job cancellation was successful.
    CANCELLED = 4

    # The job has completed successfully.
    DONE = 5

    # The job has completed, but encountered an error.
    ERROR = 6

    # Job attempt has failed. The detail field contains failure details for
    # this attempt.
    #
    # Applies to restartable jobs only.
    ATTEMPT_FAILURE = 9
  end

  module Substate
    UNSPECIFIED = 0

    # The Job is submitted to the agent.
    #
    # Applies to RUNNING state.
    SUBMITTED = 1

    # The Job has been received and is awaiting execution (it may be waiting
    # for a condition to be met). See the "details" field for the reason for
    # the delay.
    #
    # Applies to RUNNING state.
    QUEUED = 2

    # The agent-reported status is out of date, which may be caused by a
    # loss of communication between the agent and Cloud Dataproc. If the
    # agent does not send a timely update, the job will fail.
    #
    # Applies to RUNNING state.
    STALE_STATUS = 3
  end
end

#state_start_timeGoogle::Protobuf::Timestamp

Returns Output-only. The time when this state was entered.

Returns:



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
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/jobs.rb', line 313

class JobStatus
  # The job state.
  module State
    # The job state is unknown.
    STATE_UNSPECIFIED = 0

    # The job is pending; it has been submitted, but is not yet running.
    PENDING = 1

    # Job has been received by the service and completed initial setup;
    # it will soon be submitted to the cluster.
    SETUP_DONE = 8

    # The job is running on the cluster.
    RUNNING = 2

    # A CancelJob request has been received, but is pending.
    CANCEL_PENDING = 3

    # Transient in-flight resources have been canceled, and the request to
    # cancel the running job has been issued to the cluster.
    CANCEL_STARTED = 7

    # The job cancellation was successful.
    CANCELLED = 4

    # The job has completed successfully.
    DONE = 5

    # The job has completed, but encountered an error.
    ERROR = 6

    # Job attempt has failed. The detail field contains failure details for
    # this attempt.
    #
    # Applies to restartable jobs only.
    ATTEMPT_FAILURE = 9
  end

  module Substate
    UNSPECIFIED = 0

    # The Job is submitted to the agent.
    #
    # Applies to RUNNING state.
    SUBMITTED = 1

    # The Job has been received and is awaiting execution (it may be waiting
    # for a condition to be met). See the "details" field for the reason for
    # the delay.
    #
    # Applies to RUNNING state.
    QUEUED = 2

    # The agent-reported status is out of date, which may be caused by a
    # loss of communication between the agent and Cloud Dataproc. If the
    # agent does not send a timely update, the job will fail.
    #
    # Applies to RUNNING state.
    STALE_STATUS = 3
  end
end

#substateGoogle::Cloud::Dataproc::V1::JobStatus::Substate

Returns Output-only. Additional state information, which includes status reported by the agent.

Returns:



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
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/jobs.rb', line 313

class JobStatus
  # The job state.
  module State
    # The job state is unknown.
    STATE_UNSPECIFIED = 0

    # The job is pending; it has been submitted, but is not yet running.
    PENDING = 1

    # Job has been received by the service and completed initial setup;
    # it will soon be submitted to the cluster.
    SETUP_DONE = 8

    # The job is running on the cluster.
    RUNNING = 2

    # A CancelJob request has been received, but is pending.
    CANCEL_PENDING = 3

    # Transient in-flight resources have been canceled, and the request to
    # cancel the running job has been issued to the cluster.
    CANCEL_STARTED = 7

    # The job cancellation was successful.
    CANCELLED = 4

    # The job has completed successfully.
    DONE = 5

    # The job has completed, but encountered an error.
    ERROR = 6

    # Job attempt has failed. The detail field contains failure details for
    # this attempt.
    #
    # Applies to restartable jobs only.
    ATTEMPT_FAILURE = 9
  end

  module Substate
    UNSPECIFIED = 0

    # The Job is submitted to the agent.
    #
    # Applies to RUNNING state.
    SUBMITTED = 1

    # The Job has been received and is awaiting execution (it may be waiting
    # for a condition to be met). See the "details" field for the reason for
    # the delay.
    #
    # Applies to RUNNING state.
    QUEUED = 2

    # The agent-reported status is out of date, which may be caused by a
    # loss of communication between the agent and Cloud Dataproc. If the
    # agent does not send a timely update, the job will fail.
    #
    # Applies to RUNNING state.
    STALE_STATUS = 3
  end
end