@Override public RegisterResponseProto registerSubordinateNamenode( RpcController unused, RegisterRequestProto request) throws ServiceException { NamenodeRegistration reg; try { reg = impl.registerSubordinateNamenode( PBHelper.convert(request.getRegistration())); } catch (IOException e) { throw new ServiceException(e); } return RegisterResponseProto.newBuilder() .setRegistration(PBHelper.convert(reg)).build(); }
while(!isStopRequested()) { try { nnReg = namenode.registerSubordinateNamenode(getRegistration()); break; } catch(SocketTimeoutException e) { // name-node is busy
@Override public RegisterResponseProto registerSubordinateNamenode( RpcController unused, RegisterRequestProto request) throws ServiceException { NamenodeRegistration reg; try { reg = impl.registerSubordinateNamenode( PBHelper.convert(request.getRegistration())); } catch (IOException e) { throw new ServiceException(e); } return RegisterResponseProto.newBuilder() .setRegistration(PBHelper.convert(reg)).build(); }
@Override public RegisterResponseProto registerSubordinateNamenode( RpcController unused, RegisterRequestProto request) throws ServiceException { NamenodeRegistration reg; try { reg = impl.registerSubordinateNamenode( PBHelper.convert(request.getRegistration())); } catch (IOException e) { throw new ServiceException(e); } return RegisterResponseProto.newBuilder() .setRegistration(PBHelper.convert(reg)).build(); }
while(!isStopRequested()) { try { nnReg = namenode.registerSubordinateNamenode(getRegistration()); break; } catch(SocketTimeoutException e) { // name-node is busy
while(!isStopRequested()) { try { nnReg = namenode.registerSubordinateNamenode(getRegistration()); break; } catch(SocketTimeoutException e) { // name-node is busy