@InterfaceAudience.Private public class ApplicationClientProtocolPBClientImpl extends Object implements ApplicationClientProtocol, Closeable
| Constructor and Description |
|---|
ApplicationClientProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
Configuration conf) |
public ApplicationClientProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
Configuration conf)
throws IOException
IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic KillApplicationResponse forceKillApplication(KillApplicationRequest request) throws YarnException, IOException
forceKillApplication in interface ApplicationClientProtocolYarnExceptionIOExceptionpublic GetApplicationReportResponse getApplicationReport(GetApplicationReportRequest request) throws YarnException, IOException
getApplicationReport in interface ApplicationBaseProtocolYarnExceptionIOExceptionpublic GetClusterMetricsResponse getClusterMetrics(GetClusterMetricsRequest request) throws YarnException, IOException
getClusterMetrics in interface ApplicationClientProtocolYarnExceptionIOExceptionpublic GetNewApplicationResponse getNewApplication(GetNewApplicationRequest request) throws YarnException, IOException
getNewApplication in interface ApplicationClientProtocolYarnExceptionIOExceptionpublic SubmitApplicationResponse submitApplication(SubmitApplicationRequest request) throws YarnException, IOException
submitApplication in interface ApplicationClientProtocolYarnExceptionIOExceptionpublic GetApplicationsResponse getApplications(GetApplicationsRequest request) throws YarnException, IOException
getApplications in interface ApplicationBaseProtocolYarnExceptionIOExceptionpublic GetClusterNodesResponse getClusterNodes(GetClusterNodesRequest request) throws YarnException, IOException
getClusterNodes in interface ApplicationClientProtocolYarnExceptionIOExceptionpublic GetQueueInfoResponse getQueueInfo(GetQueueInfoRequest request) throws YarnException, IOException
getQueueInfo in interface ApplicationClientProtocolYarnExceptionIOExceptionpublic GetQueueUserAclsInfoResponse getQueueUserAcls(GetQueueUserAclsInfoRequest request) throws YarnException, IOException
getQueueUserAcls in interface ApplicationClientProtocolYarnExceptionIOExceptionpublic 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 ApplicationBaseProtocolYarnExceptionIOExceptionpublic MoveApplicationAcrossQueuesResponse moveApplicationAcrossQueues(MoveApplicationAcrossQueuesRequest request) throws YarnException, IOException
moveApplicationAcrossQueues in interface ApplicationClientProtocolYarnExceptionIOExceptionpublic 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 ReservationSubmissionResponse submitReservation(ReservationSubmissionRequest request) throws YarnException, IOException
submitReservation in interface ApplicationClientProtocolYarnExceptionIOExceptionpublic ReservationUpdateResponse updateReservation(ReservationUpdateRequest request) throws YarnException, IOException
updateReservation in interface ApplicationClientProtocolYarnExceptionIOExceptionpublic ReservationDeleteResponse deleteReservation(ReservationDeleteRequest request) throws YarnException, IOException
deleteReservation in interface ApplicationClientProtocolYarnExceptionIOExceptionpublic GetNodesToLabelsResponse getNodeToLabels(GetNodesToLabelsRequest request) throws YarnException, IOException
getNodeToLabels in interface ApplicationClientProtocolYarnExceptionIOExceptionpublic GetLabelsToNodesResponse getLabelsToNodes(GetLabelsToNodesRequest request) throws YarnException, IOException
getLabelsToNodes in interface ApplicationClientProtocolYarnExceptionIOExceptionpublic GetClusterNodeLabelsResponse getClusterNodeLabels(GetClusterNodeLabelsRequest request) throws YarnException, IOException
getClusterNodeLabels in interface ApplicationClientProtocolYarnExceptionIOExceptionCopyright © 2018 CERN. All Rights Reserved.