Class: Java::OrgApacheHadoopYarnApiRecordsImplPb::ApplicationReportPBImpl
- Inherits:
-
Object
- Object
- Java::OrgApacheHadoopYarnApiRecordsImplPb::ApplicationReportPBImpl
- Defined in:
- lib/spark_toolkit/hadoop/yarn/application.rb
Instance Method Summary collapse
- #final_status ⇒ Object
-
#get_detail ⇒ Object
get_application_id get_application_type get_start_time get_finish_time get_user get_host get_name get_tracking_url.
-
#get_yarn_application_state ⇒ Object
NOTE: For detailed state meaning, view the doc: hadoop.apache.org/docs/r2.4.1/api/org/apache/hadoop/yarn/api/records/YarnApplicationState.html.
Instance Method Details
#final_status ⇒ Object
31 32 33 |
# File 'lib/spark_toolkit/hadoop/yarn/application.rb', line 31 def final_status final_application_status.to_s.to_sym end |
#get_detail ⇒ Object
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 23 |
# 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, app_state: get_yarn_application_state, final_status: final_status } end |
#get_yarn_application_state ⇒ Object
NOTE: For detailed state meaning, view the doc: hadoop.apache.org/docs/r2.4.1/api/org/apache/hadoop/yarn/api/records/YarnApplicationState.html
27 28 29 |
# File 'lib/spark_toolkit/hadoop/yarn/application.rb', line 27 def get_yarn_application_state getYarnApplicationState.to_s.to_sym end |