@Override public RegisterApplicationMasterResponseProto registerApplicationMaster( RpcController arg0, RegisterApplicationMasterRequestProto proto) throws ServiceException { RegisterApplicationMasterRequestPBImpl request = new RegisterApplicationMasterRequestPBImpl(proto); try { RegisterApplicationMasterResponse response = real.registerApplicationMaster(request); return ((RegisterApplicationMasterResponsePBImpl)response).getProto(); } catch (YarnException e) { throw new ServiceException(e); } catch (IOException e) { throw new ServiceException(e); } } }
@Override public RegisterApplicationMasterResponseProto registerApplicationMaster( RpcController arg0, RegisterApplicationMasterRequestProto proto) throws ServiceException { RegisterApplicationMasterRequestPBImpl request = new RegisterApplicationMasterRequestPBImpl(proto); try { RegisterApplicationMasterResponse response = real.registerApplicationMaster(request); return ((RegisterApplicationMasterResponsePBImpl)response).getProto(); } catch (YarnException e) { throw new ServiceException(e); } catch (IOException e) { throw new ServiceException(e); } } }
@Override public RegisterApplicationMasterResponseProto registerApplicationMaster( RpcController arg0, RegisterApplicationMasterRequestProto proto) throws ServiceException { RegisterApplicationMasterRequestPBImpl request = new RegisterApplicationMasterRequestPBImpl(proto); try { RegisterApplicationMasterResponse response = real.registerApplicationMaster(request); return ((RegisterApplicationMasterResponsePBImpl)response).getProto(); } catch (YarnException e) { throw new ServiceException(e); } catch (IOException e) { throw new ServiceException(e); } } }
.parseFrom(recoveredDataMap.get(NMSS_REG_REQUEST_KEY)); this.amRegistrationRequest = new RegisterApplicationMasterRequestPBImpl(pb); LOG.info("amRegistrationRequest recovered for {}", this.attemptId);