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

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

public interface MRClientProtocol


Method Summary
 CancelDelegationTokenResponse cancelDelegationToken(CancelDelegationTokenRequest request)
          Cancel an existing delegation token.
 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)
           
 RenewDelegationTokenResponse renewDelegationToken(RenewDelegationTokenRequest request)
          Renew an existing delegation token.
 

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

renewDelegationToken

RenewDelegationTokenResponse renewDelegationToken(RenewDelegationTokenRequest request)
                                                  throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Renew an existing delegation token.

Parameters:
request - the delegation token to be renewed.
Returns:
the new expiry time for the delegation token.
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException

cancelDelegationToken

CancelDelegationTokenResponse cancelDelegationToken(CancelDelegationTokenRequest request)
                                                    throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
Cancel an existing delegation token.

Parameters:
request - the delegation token to be renewed.
Returns:
Throws:
org.apache.hadoop.yarn.exceptions.YarnRemoteException


Copyright © 2013 Apache Software Foundation. All Rights Reserved.