Class: Google::Apis::DataprocV1beta2::YarnApplication

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataproc_v1beta2/classes.rb,
lib/google/apis/dataproc_v1beta2/representations.rb,
lib/google/apis/dataproc_v1beta2/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ YarnApplication

Returns a new instance of YarnApplication.



3792
3793
3794
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 3792

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

Output only. The application name. Corresponds to the JSON property name

Returns:

  • (String)


3772
3773
3774
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 3772

def name
  @name
end

#progressFloat

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

Returns:

  • (Float)


3777
3778
3779
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 3777

def progress
  @progress
end

#stateString

Output only. The application state. Corresponds to the JSON property state

Returns:

  • (String)


3782
3783
3784
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 3782

def state
  @state
end

#tracking_urlString

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. Corresponds to the JSON property trackingUrl

Returns:

  • (String)


3790
3791
3792
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 3790

def tracking_url
  @tracking_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3797
3798
3799
3800
3801
3802
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 3797

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