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
IOException
public InetSocketAddress getConnectAddress()
MRClientProtocol
getConnectAddress
in interface MRClientProtocol
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public GetJobReportResponse getJobReport(GetJobReportRequest request) throws IOException
getJobReport
in interface MRClientProtocol
IOException
public GetTaskReportResponse getTaskReport(GetTaskReportRequest request) throws IOException
getTaskReport
in interface MRClientProtocol
IOException
public GetTaskAttemptReportResponse getTaskAttemptReport(GetTaskAttemptReportRequest request) throws IOException
getTaskAttemptReport
in interface MRClientProtocol
IOException
public GetCountersResponse getCounters(GetCountersRequest request) throws IOException
getCounters
in interface MRClientProtocol
IOException
public GetTaskAttemptCompletionEventsResponse getTaskAttemptCompletionEvents(GetTaskAttemptCompletionEventsRequest request) throws IOException
getTaskAttemptCompletionEvents
in interface MRClientProtocol
IOException
public GetTaskReportsResponse getTaskReports(GetTaskReportsRequest request) throws IOException
getTaskReports
in interface MRClientProtocol
IOException
public GetDiagnosticsResponse getDiagnostics(GetDiagnosticsRequest request) throws IOException
getDiagnostics
in interface MRClientProtocol
IOException
public GetDelegationTokenResponse getDelegationToken(GetDelegationTokenRequest request) throws IOException
getDelegationToken
in interface MRClientProtocol
IOException
public KillJobResponse killJob(KillJobRequest request) throws IOException
killJob
in interface MRClientProtocol
IOException
public KillTaskResponse killTask(KillTaskRequest request) throws IOException
killTask
in interface MRClientProtocol
IOException
public KillTaskAttemptResponse killTaskAttempt(KillTaskAttemptRequest request) throws IOException
killTaskAttempt
in interface MRClientProtocol
IOException
public FailTaskAttemptResponse failTaskAttempt(FailTaskAttemptRequest request) throws IOException
failTaskAttempt
in interface MRClientProtocol
IOException
public RenewDelegationTokenResponse renewDelegationToken(RenewDelegationTokenRequest request) throws IOException
MRClientProtocol
renewDelegationToken
in interface MRClientProtocol
request
- the delegation token to be renewed.IOException
public CancelDelegationTokenResponse cancelDelegationToken(CancelDelegationTokenRequest request) throws IOException
MRClientProtocol
cancelDelegationToken
in interface MRClientProtocol
request
- the delegation token to be cancelled.IOException
Copyright © 2022 Apache Software Foundation. All rights reserved.