org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetJobReportRequestProto Java Examples
The following examples show how to use
org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetJobReportRequestProto.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MRClientProtocolPBServiceImpl.java From hadoop with Apache License 2.0 | 5 votes |
@Override public GetJobReportResponseProto getJobReport(RpcController controller, GetJobReportRequestProto proto) throws ServiceException { GetJobReportRequestPBImpl request = new GetJobReportRequestPBImpl(proto); try { GetJobReportResponse response = real.getJobReport(request); return ((GetJobReportResponsePBImpl)response).getProto(); } catch (IOException e) { throw new ServiceException(e); } }
Example #2
Source File: MRClientProtocolPBClientImpl.java From hadoop with Apache License 2.0 | 5 votes |
@Override public GetJobReportResponse getJobReport(GetJobReportRequest request) throws IOException { GetJobReportRequestProto requestProto = ((GetJobReportRequestPBImpl)request).getProto(); try { return new GetJobReportResponsePBImpl(proxy.getJobReport(null, requestProto)); } catch (ServiceException e) { throw unwrapAndThrowException(e); } }
Example #3
Source File: MRClientProtocolPBServiceImpl.java From big-c with Apache License 2.0 | 5 votes |
@Override public GetJobReportResponseProto getJobReport(RpcController controller, GetJobReportRequestProto proto) throws ServiceException { GetJobReportRequestPBImpl request = new GetJobReportRequestPBImpl(proto); try { GetJobReportResponse response = real.getJobReport(request); return ((GetJobReportResponsePBImpl)response).getProto(); } catch (IOException e) { throw new ServiceException(e); } }
Example #4
Source File: MRClientProtocolPBClientImpl.java From big-c with Apache License 2.0 | 5 votes |
@Override public GetJobReportResponse getJobReport(GetJobReportRequest request) throws IOException { GetJobReportRequestProto requestProto = ((GetJobReportRequestPBImpl)request).getProto(); try { return new GetJobReportResponsePBImpl(proxy.getJobReport(null, requestProto)); } catch (ServiceException e) { throw unwrapAndThrowException(e); } }
Example #5
Source File: MRCommunicator.java From jumbune with GNU Lesser General Public License v3.0 | 5 votes |
/** * Given the required details (application id and suffix id) for JobId it gives the JobReport * @param appid, the Application Id instance * @param id, the suffix id * @return the Job Report * @throws IOException */ public JobReport getJobReport(ApplicationId appId, int id) throws IOException{ JobId jobId = YarnCommunicatorUtil.getJobId(appId, (int)1); GetJobReportRequestProto proto = GetJobReportRequestProto.getDefaultInstance(); GetJobReportRequest request = new GetJobReportRequestPBImpl(proto); request.setJobId(jobId); GetJobReportResponse jobReportResponse = proxy.getJobReport(request); return jobReportResponse.getJobReport(); }
Example #6
Source File: MRCommunicator.java From jumbune with GNU Lesser General Public License v3.0 | 5 votes |
public JobReport getJobReport(JobId jobId) throws IOException { GetJobReportRequestProto proto = GetJobReportRequestProto.getDefaultInstance(); GetJobReportRequest request = new GetJobReportRequestPBImpl(proto); request.setJobId(jobId); GetJobReportResponse jobReportResponse = proxy.getJobReport(request); return jobReportResponse.getJobReport(); }
Example #7
Source File: GetJobReportRequestPBImpl.java From hadoop with Apache License 2.0 | 4 votes |
public GetJobReportRequestPBImpl() { builder = GetJobReportRequestProto.newBuilder(); }
Example #8
Source File: GetJobReportRequestPBImpl.java From hadoop with Apache License 2.0 | 4 votes |
public GetJobReportRequestPBImpl(GetJobReportRequestProto proto) { this.proto = proto; viaProto = true; }
Example #9
Source File: GetJobReportRequestPBImpl.java From hadoop with Apache License 2.0 | 4 votes |
public GetJobReportRequestProto getProto() { mergeLocalToProto(); proto = viaProto ? proto : builder.build(); viaProto = true; return proto; }
Example #10
Source File: GetJobReportRequestPBImpl.java From hadoop with Apache License 2.0 | 4 votes |
private void maybeInitBuilder() { if (viaProto || builder == null) { builder = GetJobReportRequestProto.newBuilder(proto); } viaProto = false; }
Example #11
Source File: GetJobReportRequestPBImpl.java From big-c with Apache License 2.0 | 4 votes |
public GetJobReportRequestPBImpl() { builder = GetJobReportRequestProto.newBuilder(); }
Example #12
Source File: GetJobReportRequestPBImpl.java From big-c with Apache License 2.0 | 4 votes |
public GetJobReportRequestPBImpl(GetJobReportRequestProto proto) { this.proto = proto; viaProto = true; }
Example #13
Source File: GetJobReportRequestPBImpl.java From big-c with Apache License 2.0 | 4 votes |
public GetJobReportRequestProto getProto() { mergeLocalToProto(); proto = viaProto ? proto : builder.build(); viaProto = true; return proto; }
Example #14
Source File: GetJobReportRequestPBImpl.java From big-c with Apache License 2.0 | 4 votes |
private void maybeInitBuilder() { if (viaProto || builder == null) { builder = GetJobReportRequestProto.newBuilder(proto); } viaProto = false; }