public class FedAppReportFetcher extends AppReportFetcher
AppReportFetcher.AppReportSource, AppReportFetcher.FetchedAppReport| Constructor | Description |
|---|---|
FedAppReportFetcher(org.apache.hadoop.conf.Configuration conf) |
Create a new Connection to the RM/Application History Server to fetch
Application reports.
|
| Modifier and Type | Method | Description |
|---|---|---|
AppReportFetcher.FetchedAppReport |
getApplicationReport(org.apache.hadoop.yarn.api.records.ApplicationId appId) |
Get an application report for the specified application id from the RM and
fall back to the Application History Server if not found in RM.
|
java.lang.String |
getRmAppPageUrlBase(org.apache.hadoop.yarn.api.records.ApplicationId appId) |
|
void |
registerSubCluster(org.apache.hadoop.yarn.server.federation.store.records.SubClusterInfo info,
org.apache.hadoop.yarn.api.ApplicationClientProtocol proxy) |
|
void |
stop() |
getAhsAppPageUrlBase, getAHSProxy, getApplicationReport, getConf, setHistoryManagerpublic FedAppReportFetcher(org.apache.hadoop.conf.Configuration conf)
conf - the conf to use to know where the RM is.public AppReportFetcher.FetchedAppReport getApplicationReport(org.apache.hadoop.yarn.api.records.ApplicationId appId) throws org.apache.hadoop.yarn.exceptions.YarnException, java.io.IOException
getApplicationReport in class AppReportFetcherappId - id of the application to get.org.apache.hadoop.yarn.exceptions.YarnException - on any error.java.io.IOException - connection exception.public java.lang.String getRmAppPageUrlBase(org.apache.hadoop.yarn.api.records.ApplicationId appId)
throws java.io.IOException,
org.apache.hadoop.yarn.exceptions.YarnException
getRmAppPageUrlBase in class AppReportFetcherjava.io.IOExceptionorg.apache.hadoop.yarn.exceptions.YarnExceptionpublic void stop()
stop in class AppReportFetcher@VisibleForTesting
public void registerSubCluster(org.apache.hadoop.yarn.server.federation.store.records.SubClusterInfo info,
org.apache.hadoop.yarn.api.ApplicationClientProtocol proxy)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.