@Override public GetApplicationsResponseProto getApplications(RpcController controller, GetApplicationsRequestProto proto) throws ServiceException { GetApplicationsRequestPBImpl request = new GetApplicationsRequestPBImpl(proto); try { GetApplicationsResponse response = real.getApplications(request); return ((GetApplicationsResponsePBImpl) response).getProto(); } catch (YarnException e) { throw new ServiceException(e); } catch (IOException e) { throw new ServiceException(e); } }
@Override public GetApplicationsResponseProto getApplications(RpcController controller, GetApplicationsRequestProto proto) throws ServiceException { GetApplicationsRequestPBImpl request = new GetApplicationsRequestPBImpl(proto); try { GetApplicationsResponse response = real.getApplications(request); return ((GetApplicationsResponsePBImpl) response).getProto(); } catch (YarnException e) { throw new ServiceException(e); } catch (IOException e) { throw new ServiceException(e); } }
@Override public GetApplicationsResponseProto getApplications(RpcController controller, GetApplicationsRequestProto proto) throws ServiceException { GetApplicationsRequestPBImpl request = new GetApplicationsRequestPBImpl(proto); try { GetApplicationsResponse response = real.getApplications(request); return ((GetApplicationsResponsePBImpl) response).getProto(); } catch (YarnException e) { throw new ServiceException(e); } catch (IOException e) { throw new ServiceException(e); } }
@Override public GetApplicationsResponseProto getApplications( RpcController controller, GetApplicationsRequestProto proto) throws ServiceException { GetApplicationsRequestPBImpl request = new GetApplicationsRequestPBImpl(proto); try { GetApplicationsResponse response = real.getApplications(request); return ((GetApplicationsResponsePBImpl)response).getProto(); } catch (YarnException e) { throw new ServiceException(e); } catch (IOException e) { throw new ServiceException(e); } }
@Override public GetApplicationsResponseProto getApplications( RpcController controller, GetApplicationsRequestProto proto) throws ServiceException { GetApplicationsRequestPBImpl request = new GetApplicationsRequestPBImpl(proto); try { GetApplicationsResponse response = real.getApplications(request); return ((GetApplicationsResponsePBImpl)response).getProto(); } catch (YarnException e) { throw new ServiceException(e); } catch (IOException e) { throw new ServiceException(e); } }
@Override public GetApplicationsResponseProto getApplications( RpcController controller, GetApplicationsRequestProto proto) throws ServiceException { GetApplicationsRequestPBImpl request = new GetApplicationsRequestPBImpl(proto); try { GetApplicationsResponse response = real.getApplications(request); return ((GetApplicationsResponsePBImpl)response).getProto(); } catch (YarnException e) { throw new ServiceException(e); } catch (IOException e) { throw new ServiceException(e); } }
request.setScope(scope); GetApplicationsRequest requestFromProto = new GetApplicationsRequestPBImpl( ((GetApplicationsRequestPBImpl)request).getProto());
request.setScope(scope); GetApplicationsRequest requestFromProto = new GetApplicationsRequestPBImpl( ((GetApplicationsRequestPBImpl)request).getProto());
request.setScope(scope); GetApplicationsRequest requestFromProto = new GetApplicationsRequestPBImpl( ((GetApplicationsRequestPBImpl)request).getProto());