Class: Java::OrgApacheHadoopYarnApiRecordsImplPb::ApplicationReportPBImpl

Inherits:
Object
  • Object
show all
Defined in:
lib/spark_toolkit/hadoop/yarn/application.rb

Instance Method Summary collapse

Instance Method Details

#get_detailObject

get_application_id get_application_type get_start_time get_finish_time get_user get_host get_name get_tracking_url



10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/spark_toolkit/hadoop/yarn/application.rb', line 10

def get_detail
  {
    id: get_application_id,
    name: get_name,
    user: get_user,
    type: get_application_type,
    host: get_host,
    tracking_url: get_tracking_url,
    start_time: get_start_time,
    finish_time: get_finish_time,
    state: get_yarn_application_state
  }
end

#get_yarn_application_stateObject



26
27
28
# File 'lib/spark_toolkit/hadoop/yarn/application.rb', line 26

def get_yarn_application_state
  getYarnApplicationState.to_s.to_sym
end