public class ApplicationHistoryProtocolPBClientImpl extends Object implements ApplicationHistoryProtocol, Closeable
| Constructor and Description |
|---|
ApplicationHistoryProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
Configuration conf) |
public ApplicationHistoryProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
Configuration conf)
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic GetApplicationReportResponse getApplicationReport(GetApplicationReportRequest request) throws YarnException, IOException
getApplicationReport in interface ApplicationBaseProtocolYarnExceptionIOExceptionpublic GetApplicationsResponse getApplications(GetApplicationsRequest request) throws YarnException, IOException
getApplications in interface ApplicationBaseProtocolYarnExceptionIOExceptionpublic GetApplicationAttemptReportResponse getApplicationAttemptReport(GetApplicationAttemptReportRequest request) throws YarnException, IOException
getApplicationAttemptReport in interface ApplicationBaseProtocolYarnExceptionIOExceptionpublic GetApplicationAttemptsResponse getApplicationAttempts(GetApplicationAttemptsRequest request) throws YarnException, IOException
getApplicationAttempts in interface ApplicationBaseProtocolYarnExceptionIOExceptionpublic GetContainerReportResponse getContainerReport(GetContainerReportRequest request) throws YarnException, IOException
getContainerReport in interface ApplicationBaseProtocolYarnExceptionIOExceptionpublic GetContainersResponse getContainers(GetContainersRequest request) throws YarnException, IOException
getContainers in interface ApplicationBaseProtocolYarnExceptionIOExceptionpublic GetDelegationTokenResponse getDelegationToken(GetDelegationTokenRequest request) throws YarnException, IOException
getDelegationToken in interface ApplicationBaseProtocolYarnExceptionIOExceptionpublic RenewDelegationTokenResponse renewDelegationToken(RenewDelegationTokenRequest request) throws YarnException, IOException
renewDelegationToken in interface ApplicationBaseProtocolYarnExceptionIOExceptionpublic CancelDelegationTokenResponse cancelDelegationToken(CancelDelegationTokenRequest request) throws YarnException, IOException
cancelDelegationToken in interface ApplicationBaseProtocolYarnExceptionIOExceptionCopyright © 2018 CERN. All Rights Reserved.