Class: Google::Cloud::Dataproc::V1::YarnApplication

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

Overview

A YARN application created by a job. Application information is a subset of org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto.

Beta Feature: This report is available for testing purposes only. It may be changed before final release.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

Returns Required. The application name.

Returns:

  • (String)

    Required. The application name.



410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/jobs.rb', line 410

class YarnApplication
  # The application state, corresponding to
  # <code>YarnProtos.YarnApplicationStateProto</code>.
  module State
    # Status is unspecified.
    STATE_UNSPECIFIED = 0

    # Status is NEW.
    NEW = 1

    # Status is NEW_SAVING.
    NEW_SAVING = 2

    # Status is SUBMITTED.
    SUBMITTED = 3

    # Status is ACCEPTED.
    ACCEPTED = 4

    # Status is RUNNING.
    RUNNING = 5

    # Status is FINISHED.
    FINISHED = 6

    # Status is FAILED.
    FAILED = 7

    # Status is KILLED.
    KILLED = 8
  end
end

#progressFloat

Returns Required. The numerical progress of the application, from 1 to 100.

Returns:

  • (Float)

    Required. The numerical progress of the application, from 1 to 100.



410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/jobs.rb', line 410

class YarnApplication
  # The application state, corresponding to
  # <code>YarnProtos.YarnApplicationStateProto</code>.
  module State
    # Status is unspecified.
    STATE_UNSPECIFIED = 0

    # Status is NEW.
    NEW = 1

    # Status is NEW_SAVING.
    NEW_SAVING = 2

    # Status is SUBMITTED.
    SUBMITTED = 3

    # Status is ACCEPTED.
    ACCEPTED = 4

    # Status is RUNNING.
    RUNNING = 5

    # Status is FINISHED.
    FINISHED = 6

    # Status is FAILED.
    FAILED = 7

    # Status is KILLED.
    KILLED = 8
  end
end

#stateGoogle::Cloud::Dataproc::V1::YarnApplication::State

Returns Required. The application state.

Returns:



410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/jobs.rb', line 410

class YarnApplication
  # The application state, corresponding to
  # <code>YarnProtos.YarnApplicationStateProto</code>.
  module State
    # Status is unspecified.
    STATE_UNSPECIFIED = 0

    # Status is NEW.
    NEW = 1

    # Status is NEW_SAVING.
    NEW_SAVING = 2

    # Status is SUBMITTED.
    SUBMITTED = 3

    # Status is ACCEPTED.
    ACCEPTED = 4

    # Status is RUNNING.
    RUNNING = 5

    # Status is FINISHED.
    FINISHED = 6

    # Status is FAILED.
    FAILED = 7

    # Status is KILLED.
    KILLED = 8
  end
end

#tracking_urlString

Returns Optional. The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the internal hostname, and requires a proxy server for resolution and, possibly, access.

Returns:

  • (String)

    Optional. The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the internal hostname, and requires a proxy server for resolution and, possibly, access.



410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/jobs.rb', line 410

class YarnApplication
  # The application state, corresponding to
  # <code>YarnProtos.YarnApplicationStateProto</code>.
  module State
    # Status is unspecified.
    STATE_UNSPECIFIED = 0

    # Status is NEW.
    NEW = 1

    # Status is NEW_SAVING.
    NEW_SAVING = 2

    # Status is SUBMITTED.
    SUBMITTED = 3

    # Status is ACCEPTED.
    ACCEPTED = 4

    # Status is RUNNING.
    RUNNING = 5

    # Status is FINISHED.
    FINISHED = 6

    # Status is FAILED.
    FAILED = 7

    # Status is KILLED.
    KILLED = 8
  end
end