org.apache.hadoop.mapreduce.v2.api.impl.pb.client
Class MRClientProtocolPBClientImpl
java.lang.Object
org.apache.hadoop.mapreduce.v2.api.impl.pb.client.MRClientProtocolPBClientImpl
- All Implemented Interfaces:
- MRClientProtocol
- Direct Known Subclasses:
- HSClientProtocolPBClientImpl
public class MRClientProtocolPBClientImpl
- extends Object
- implements MRClientProtocol
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
proxy
protected MRClientProtocolPB proxy
MRClientProtocolPBClientImpl
public MRClientProtocolPBClientImpl()
MRClientProtocolPBClientImpl
public MRClientProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
org.apache.hadoop.conf.Configuration conf)
throws IOException
- Throws:
IOException
getConnectAddress
public InetSocketAddress getConnectAddress()
- Description copied from interface:
MRClientProtocol
- Address to which the client is connected
- Specified by:
getConnectAddress in interface MRClientProtocol
- Returns:
- InetSocketAddress
getJobReport
public GetJobReportResponse getJobReport(GetJobReportRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
- Specified by:
getJobReport in interface MRClientProtocol
- Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException
getTaskReport
public GetTaskReportResponse getTaskReport(GetTaskReportRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
- Specified by:
getTaskReport in interface MRClientProtocol
- Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException
getTaskAttemptReport
public GetTaskAttemptReportResponse getTaskAttemptReport(GetTaskAttemptReportRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
- Specified by:
getTaskAttemptReport in interface MRClientProtocol
- Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException
getCounters
public GetCountersResponse getCounters(GetCountersRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
- Specified by:
getCounters in interface MRClientProtocol
- Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException
getTaskAttemptCompletionEvents
public GetTaskAttemptCompletionEventsResponse getTaskAttemptCompletionEvents(GetTaskAttemptCompletionEventsRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
- Specified by:
getTaskAttemptCompletionEvents in interface MRClientProtocol
- Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException
getTaskReports
public GetTaskReportsResponse getTaskReports(GetTaskReportsRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
- Specified by:
getTaskReports in interface MRClientProtocol
- Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException
getDiagnostics
public GetDiagnosticsResponse getDiagnostics(GetDiagnosticsRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
- Specified by:
getDiagnostics in interface MRClientProtocol
- Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException
getDelegationToken
public GetDelegationTokenResponse getDelegationToken(GetDelegationTokenRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
- Specified by:
getDelegationToken in interface MRClientProtocol
- Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException
killJob
public KillJobResponse killJob(KillJobRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
- Specified by:
killJob in interface MRClientProtocol
- Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException
killTask
public KillTaskResponse killTask(KillTaskRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
- Specified by:
killTask in interface MRClientProtocol
- Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException
killTaskAttempt
public KillTaskAttemptResponse killTaskAttempt(KillTaskAttemptRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
- Specified by:
killTaskAttempt in interface MRClientProtocol
- Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException
failTaskAttempt
public FailTaskAttemptResponse failTaskAttempt(FailTaskAttemptRequest request)
throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
- Specified by:
failTaskAttempt in interface MRClientProtocol
- Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException
Copyright © 2012 Apache Software Foundation. All Rights Reserved.