@Override public GetContainerReportResponse getContainerReport( GetContainerReportRequest request) throws YarnException, IOException { GetContainerReportRequestProto requestProto = ((GetContainerReportRequestPBImpl) request).getProto(); try { return new GetContainerReportResponsePBImpl(proxy.getContainerReport( null, requestProto)); } catch (ServiceException e) { RPCUtil.unwrapAndThrowException(e); return null; } }
@Test public void testGetContainerReportResponsePBImpl() throws Exception { validatePBImplRecord(GetContainerReportResponsePBImpl.class, GetContainerReportResponseProto.class); }