Interface MRClientProtocol
- All Known Subinterfaces:
HSClientProtocol
- All Known Implementing Classes:
HSClientProtocolPBClientImpl,MRClientProtocolPBClientImpl
public interface MRClientProtocol
-
Method Summary
Modifier and TypeMethodDescriptionCancel an existing delegation token.failTaskAttempt(FailTaskAttemptRequest request) Address to which the client is connectedgetCounters(GetCountersRequest request) getDiagnostics(GetDiagnosticsRequest request) getJobReport(GetJobReportRequest request) getTaskReport(GetTaskReportRequest request) getTaskReports(GetTaskReportsRequest request) killJob(KillJobRequest request) killTask(KillTaskRequest request) killTaskAttempt(KillTaskAttemptRequest request) Renew an existing delegation token.
-
Method Details
-
getConnectAddress
InetSocketAddress getConnectAddress()Address to which the client is connected- Returns:
- InetSocketAddress
-
getJobReport
- Throws:
IOException
-
getTaskReport
- Throws:
IOException
-
getTaskAttemptReport
GetTaskAttemptReportResponse getTaskAttemptReport(GetTaskAttemptReportRequest request) throws IOException - Throws:
IOException
-
getCounters
- Throws:
IOException
-
getTaskAttemptCompletionEvents
GetTaskAttemptCompletionEventsResponse getTaskAttemptCompletionEvents(GetTaskAttemptCompletionEventsRequest request) throws IOException - Throws:
IOException
-
getTaskReports
- Throws:
IOException
-
getDiagnostics
- Throws:
IOException
-
killJob
- Throws:
IOException
-
killTask
- Throws:
IOException
-
killTaskAttempt
- Throws:
IOException
-
failTaskAttempt
- Throws:
IOException
-
getDelegationToken
- Throws:
IOException
-
renewDelegationToken
RenewDelegationTokenResponse renewDelegationToken(RenewDelegationTokenRequest request) throws IOException Renew an existing delegation token.- Parameters:
request- the delegation token to be renewed.- Returns:
- the new expiry time for the delegation token.
- Throws:
IOException
-
cancelDelegationToken
CancelDelegationTokenResponse cancelDelegationToken(CancelDelegationTokenRequest request) throws IOException Cancel an existing delegation token.- Parameters:
request- the delegation token to be cancelled.- Returns:
- an empty response.
- Throws:
IOException
-