org.apache.hadoop.mapreduce.v2.api
Interface MRClientProtocol

All Known Subinterfaces:
HSClientProtocol
All Known Implementing Classes:
HSClientProtocolPBClientImpl, MRClientProtocolPBClientImpl

public interface MRClientProtocol


Method Summary
 FailTaskAttemptResponse failTaskAttempt(FailTaskAttemptRequest request)
           
 InetSocketAddress getConnectAddress()
          Address to which the client is connected
 GetCountersResponse getCounters(GetCountersRequest request)
           
 GetDelegationTokenResponse getDelegationToken(GetDelegationTokenRequest request)
           
 GetDiagnosticsResponse getDiagnostics(GetDiagnosticsRequest request)
           
 GetJobReportResponse getJobReport(GetJobReportRequest request)
           
 GetTaskAttemptCompletionEventsResponse getTaskAttemptCompletionEvents(GetTaskAttemptCompletionEventsRequest request)
           
 GetTaskAttemptReportResponse getTaskAttemptReport(GetTaskAttemptReportRequest request)
           
 GetTaskReportResponse getTaskReport(GetTaskReportRequest request)
           
 GetTaskReportsResponse getTaskReports(GetTaskReportsRequest request)
           
 KillJobResponse killJob(KillJobRequest request)
           
 KillTaskResponse killTask(KillTaskRequest request)
           
 KillTaskAttemptResponse killTaskAttempt(KillTaskAttemptRequest request)
           
 

Method Detail

getConnectAddress

InetSocketAddress getConnectAddress()
Address to which the client is connected

Returns:
InetSocketAddress

getJobReport

GetJobReportResponse getJobReport(GetJobReportRequest request)
                                  throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

getTaskReport

GetTaskReportResponse getTaskReport(GetTaskReportRequest request)
                                    throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

getTaskAttemptReport

GetTaskAttemptReportResponse getTaskAttemptReport(GetTaskAttemptReportRequest request)
                                                  throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

getCounters

GetCountersResponse getCounters(GetCountersRequest request)
                                throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

getTaskAttemptCompletionEvents

GetTaskAttemptCompletionEventsResponse getTaskAttemptCompletionEvents(GetTaskAttemptCompletionEventsRequest request)
                                                                      throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

getTaskReports

GetTaskReportsResponse getTaskReports(GetTaskReportsRequest request)
                                      throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

getDiagnostics

GetDiagnosticsResponse getDiagnostics(GetDiagnosticsRequest request)
                                      throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

killJob

KillJobResponse killJob(KillJobRequest request)
                        throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

killTask

KillTaskResponse killTask(KillTaskRequest request)
                          throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

killTaskAttempt

KillTaskAttemptResponse killTaskAttempt(KillTaskAttemptRequest request)
                                        throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

failTaskAttempt

FailTaskAttemptResponse failTaskAttempt(FailTaskAttemptRequest request)
                                        throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

getDelegationToken

GetDelegationTokenResponse getDelegationToken(GetDelegationTokenRequest request)
                                              throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException


Copyright © 2012 Apache Software Foundation. All Rights Reserved.