Class: Google::Apis::DataprocV1::YarnApplication
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::YarnApplication
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataproc_v1/classes.rb,
generated/google/apis/dataproc_v1/representations.rb,
generated/google/apis/dataproc_v1/representations.rb
Overview
A YARN application created by a job. Application information is a subset of < code>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 The application name.
-
#progress ⇒ Float
Required The numerical progress of the application, from 1 to 100.
-
#state ⇒ String
Required The application state.
-
#tracking_url ⇒ String
Optional The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YarnApplication
constructor
A new instance of YarnApplication.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ YarnApplication
Returns a new instance of YarnApplication
1166 1167 1168 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1166 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Required The application name.
Corresponds to the JSON property name
1151 1152 1153 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1151 def name @name end |
#progress ⇒ Float
Required The numerical progress of the application, from 1 to 100.
Corresponds to the JSON property progress
1164 1165 1166 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1164 def progress @progress end |
#state ⇒ String
Required The application state.
Corresponds to the JSON property state
1146 1147 1148 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1146 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
1159 1160 1161 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1159 def tracking_url @tracking_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1171 1172 1173 1174 1175 1176 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1171 def update!(**args) @state = args[:state] if args.key?(:state) @name = args[:name] if args.key?(:name) @tracking_url = args[:tracking_url] if args.key?(:tracking_url) @progress = args[:progress] if args.key?(:progress) end |