public class MRClientProtocolPBClientImpl extends Object implements MRClientProtocol, Closeable
| Modifier and Type | Field and Description |
|---|---|
protected MRClientProtocolPB |
proxy |
| Constructor and Description |
|---|
MRClientProtocolPBClientImpl() |
MRClientProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
org.apache.hadoop.conf.Configuration conf) |
protected MRClientProtocolPB proxy
public MRClientProtocolPBClientImpl()
public MRClientProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
org.apache.hadoop.conf.Configuration conf)
throws IOException
IOExceptionpublic InetSocketAddress getConnectAddress()
MRClientProtocolgetConnectAddress in interface MRClientProtocolpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic GetJobReportResponse getJobReport(GetJobReportRequest request) throws IOException
getJobReport in interface MRClientProtocolIOExceptionpublic GetTaskReportResponse getTaskReport(GetTaskReportRequest request) throws IOException
getTaskReport in interface MRClientProtocolIOExceptionpublic GetTaskAttemptReportResponse getTaskAttemptReport(GetTaskAttemptReportRequest request) throws IOException
getTaskAttemptReport in interface MRClientProtocolIOExceptionpublic GetCountersResponse getCounters(GetCountersRequest request) throws IOException
getCounters in interface MRClientProtocolIOExceptionpublic GetTaskAttemptCompletionEventsResponse getTaskAttemptCompletionEvents(GetTaskAttemptCompletionEventsRequest request) throws IOException
getTaskAttemptCompletionEvents in interface MRClientProtocolIOExceptionpublic GetTaskReportsResponse getTaskReports(GetTaskReportsRequest request) throws IOException
getTaskReports in interface MRClientProtocolIOExceptionpublic GetDiagnosticsResponse getDiagnostics(GetDiagnosticsRequest request) throws IOException
getDiagnostics in interface MRClientProtocolIOExceptionpublic GetDelegationTokenResponse getDelegationToken(GetDelegationTokenRequest request) throws IOException
getDelegationToken in interface MRClientProtocolIOExceptionpublic KillJobResponse killJob(KillJobRequest request) throws IOException
killJob in interface MRClientProtocolIOExceptionpublic KillTaskResponse killTask(KillTaskRequest request) throws IOException
killTask in interface MRClientProtocolIOExceptionpublic KillTaskAttemptResponse killTaskAttempt(KillTaskAttemptRequest request) throws IOException
killTaskAttempt in interface MRClientProtocolIOExceptionpublic FailTaskAttemptResponse failTaskAttempt(FailTaskAttemptRequest request) throws IOException
failTaskAttempt in interface MRClientProtocolIOExceptionpublic RenewDelegationTokenResponse renewDelegationToken(RenewDelegationTokenRequest request) throws IOException
MRClientProtocolrenewDelegationToken in interface MRClientProtocolrequest - the delegation token to be renewed.IOExceptionpublic CancelDelegationTokenResponse cancelDelegationToken(CancelDelegationTokenRequest request) throws IOException
MRClientProtocolcancelDelegationToken in interface MRClientProtocolrequest - the delegation token to be cancelled.IOExceptionCopyright © 2008–2022 Apache Software Foundation. All rights reserved.