@Override protected Void doWork() throws IOException { cachedActiveProxy.rollEditLog(); return null; } };
@Override public RollEditLogResponseProto rollEditLog(RpcController unused, RollEditLogRequestProto request) throws ServiceException { CheckpointSignature signature; try { signature = impl.rollEditLog(); } catch (IOException e) { throw new ServiceException(e); } return RollEditLogResponseProto.newBuilder() .setSignature(PBHelper.convert(signature)).build(); }
CheckpointSignature sig = namenode.rollEditLog();
/** * Trigger the active node to roll its logs. */ private void triggerActiveLogRoll() { LOG.info("Triggering log roll on remote NameNode " + activeAddr); try { getActiveNodeProxy().rollEditLog(); lastRollTriggerTxId = lastLoadedTxnId; } catch (IOException ioe) { LOG.warn("Unable to trigger a roll of the active NN", ioe); } }
/** * Trigger the active node to roll its logs. */ private void triggerActiveLogRoll() { LOG.info("Triggering log roll on remote NameNode " + activeAddr); try { getActiveNodeProxy().rollEditLog(); lastRollTriggerTxId = lastLoadedTxnId; } catch (IOException ioe) { LOG.warn("Unable to trigger a roll of the active NN", ioe); } }
@Override public RollEditLogResponseProto rollEditLog(RpcController unused, RollEditLogRequestProto request) throws ServiceException { CheckpointSignature signature; try { signature = impl.rollEditLog(); } catch (IOException e) { throw new ServiceException(e); } return RollEditLogResponseProto.newBuilder() .setSignature(PBHelper.convert(signature)).build(); }
@Override public RollEditLogResponseProto rollEditLog(RpcController unused, RollEditLogRequestProto request) throws ServiceException { CheckpointSignature signature; try { signature = impl.rollEditLog(); } catch (IOException e) { throw new ServiceException(e); } return RollEditLogResponseProto.newBuilder() .setSignature(PBHelper.convert(signature)).build(); }
CheckpointSignature sig = (CheckpointSignature)namenode.rollEditLog();
CheckpointSignature sig = (CheckpointSignature)namenode.rollEditLog();
CheckpointSignature sig = namenode.rollEditLog();
CheckpointSignature sig = namenode.rollEditLog();