|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.server.webproxy.AppReportFetcher
public class AppReportFetcher
This class abstracts away how ApplicationReports are fetched.
| Constructor Summary | |
|---|---|
AppReportFetcher(org.apache.hadoop.conf.Configuration conf)
Create a new Connection to the RM to fetch Application reports. |
|
AppReportFetcher(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.api.ApplicationClientProtocol applicationsManager)
Just call directly into the applicationsManager given instead of creating a remote connection to it. |
|
| Method Summary | |
|---|---|
org.apache.hadoop.yarn.api.records.ApplicationReport |
getApplicationReport(org.apache.hadoop.yarn.api.records.ApplicationId appId)
Get a report for the specified app. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AppReportFetcher(org.apache.hadoop.conf.Configuration conf)
conf - the conf to use to know where the RM is.
public AppReportFetcher(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.api.ApplicationClientProtocol applicationsManager)
conf - the configuration to useapplicationsManager - what to use to get the RM reports.| Method Detail |
|---|
public org.apache.hadoop.yarn.api.records.ApplicationReport getApplicationReport(org.apache.hadoop.yarn.api.records.ApplicationId appId)
throws org.apache.hadoop.yarn.exceptions.YarnException,
IOException
appId - the id of the application to get.
org.apache.hadoop.yarn.exceptions.YarnException - on any error.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||