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 org.apache.hadoop.yarn.exceptions.YarnRemoteException
getJobReport in interface MRClientProtocolorg.apache.hadoop.yarn.exceptions.YarnRemoteExceptionpublic GetTaskReportResponse getTaskReport(GetTaskReportRequest request) throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
getTaskReport in interface MRClientProtocolorg.apache.hadoop.yarn.exceptions.YarnRemoteExceptionpublic GetTaskAttemptReportResponse getTaskAttemptReport(GetTaskAttemptReportRequest request) throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
getTaskAttemptReport in interface MRClientProtocolorg.apache.hadoop.yarn.exceptions.YarnRemoteExceptionpublic GetCountersResponse getCounters(GetCountersRequest request) throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
getCounters in interface MRClientProtocolorg.apache.hadoop.yarn.exceptions.YarnRemoteExceptionpublic GetTaskAttemptCompletionEventsResponse getTaskAttemptCompletionEvents(GetTaskAttemptCompletionEventsRequest request) throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
getTaskAttemptCompletionEvents in interface MRClientProtocolorg.apache.hadoop.yarn.exceptions.YarnRemoteExceptionpublic GetTaskReportsResponse getTaskReports(GetTaskReportsRequest request) throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
getTaskReports in interface MRClientProtocolorg.apache.hadoop.yarn.exceptions.YarnRemoteExceptionpublic GetDiagnosticsResponse getDiagnostics(GetDiagnosticsRequest request) throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
getDiagnostics in interface MRClientProtocolorg.apache.hadoop.yarn.exceptions.YarnRemoteExceptionpublic GetDelegationTokenResponse getDelegationToken(GetDelegationTokenRequest request) throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
getDelegationToken in interface MRClientProtocolorg.apache.hadoop.yarn.exceptions.YarnRemoteExceptionpublic KillJobResponse killJob(KillJobRequest request) throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
killJob in interface MRClientProtocolorg.apache.hadoop.yarn.exceptions.YarnRemoteExceptionpublic KillTaskResponse killTask(KillTaskRequest request) throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
killTask in interface MRClientProtocolorg.apache.hadoop.yarn.exceptions.YarnRemoteExceptionpublic KillTaskAttemptResponse killTaskAttempt(KillTaskAttemptRequest request) throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
killTaskAttempt in interface MRClientProtocolorg.apache.hadoop.yarn.exceptions.YarnRemoteExceptionpublic FailTaskAttemptResponse failTaskAttempt(FailTaskAttemptRequest request) throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
failTaskAttempt in interface MRClientProtocolorg.apache.hadoop.yarn.exceptions.YarnRemoteExceptionpublic RenewDelegationTokenResponse renewDelegationToken(RenewDelegationTokenRequest request) throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
MRClientProtocolrenewDelegationToken in interface MRClientProtocolrequest - the delegation token to be renewed.org.apache.hadoop.yarn.exceptions.YarnRemoteExceptionpublic CancelDelegationTokenResponse cancelDelegationToken(CancelDelegationTokenRequest request) throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
MRClientProtocolcancelDelegationToken in interface MRClientProtocolrequest - the delegation token to be cancelled.org.apache.hadoop.yarn.exceptions.YarnRemoteExceptionCopyright © 2013 Apache Software Foundation. All Rights Reserved.