Class: Google::Apis::DataprocV1::YarnApplication
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::YarnApplication
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.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.
Instance Attribute Summary collapse
-
#name ⇒ String
Required.
-
#progress ⇒ Float
Required.
-
#state ⇒ String
Required.
-
#tracking_url ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YarnApplication
constructor
A new instance of YarnApplication.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ YarnApplication
Returns a new instance of YarnApplication.
6616 6617 6618 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6616 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Required. The application name.
Corresponds to the JSON property name
6596 6597 6598 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6596 def name @name end |
#progress ⇒ Float
Required. The numerical progress of the application, from 1 to 100.
Corresponds to the JSON property progress
6601 6602 6603 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6601 def progress @progress end |
#state ⇒ String
Required. The application state.
Corresponds to the JSON property state
6606 6607 6608 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6606 def state @state end |
#tracking_url ⇒ 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.
Corresponds to the JSON property trackingUrl
6614 6615 6616 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6614 def tracking_url @tracking_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6621 6622 6623 6624 6625 6626 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6621 def update!(**args) @name = args[:name] if args.key?(:name) @progress = args[:progress] if args.key?(:progress) @state = args[:state] if args.key?(:state) @tracking_url = args[:tracking_url] if args.key?(:tracking_url) end |