Class: Google::Cloud::Dataproc::V1beta2::YarnApplication

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataproc/v1beta2/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

#name::String (readonly)

Returns Output only. The application name.

Returns:

  • (::String)

    Output only. The application name.



638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 638

class YarnApplication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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

#progress::Float (readonly)

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

Returns:

  • (::Float)

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



638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 638

class YarnApplication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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

#state::Google::Cloud::Dataproc::V1beta2::YarnApplication::State (readonly)

Returns Output only. The application state.

Returns:



638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 638

class YarnApplication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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_url::String (readonly)

Returns Output only. 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)

    Output only. 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.



638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
# File 'proto_docs/google/cloud/dataproc/v1beta2/jobs.rb', line 638

class YarnApplication
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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