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