private long countUncheckpointedTxns() throws IOException { long curTxId = getRemoteNamenodeProxy().getTransactionID(); long uncheckpointedTxns = curTxId - getFSImage().getStorage().getMostRecentCheckpointTxId(); assert uncheckpointedTxns >= 0; return uncheckpointedTxns; }
NNStorage storage = bnImage.getStorage();
NNStorage bnStorage = bnImage.getStorage(); long imageSize = bnImage.getStorage().getFsImageName(txid).length(); LOG.info("Checkpoint completed in " + (monotonicNow() - startTime)/1000 + " seconds."
private long countUncheckpointedTxns() throws IOException { long curTxId = getRemoteNamenodeProxy().getTransactionID(); long uncheckpointedTxns = curTxId - getFSImage().getStorage().getMostRecentCheckpointTxId(); assert uncheckpointedTxns >= 0; return uncheckpointedTxns; }
private long countUncheckpointedTxns() throws IOException { long curTxId = getRemoteNamenodeProxy().getTransactionID(); long uncheckpointedTxns = curTxId - getFSImage().getStorage().getMostRecentCheckpointTxId(); assert uncheckpointedTxns >= 0; return uncheckpointedTxns; }
NNStorage storage = bnImage.getStorage();
NNStorage bnStorage = bnImage.getStorage(); long imageSize = bnImage.getStorage().getFsImageName(txid).length(); LOG.info("Checkpoint completed in " + (monotonicNow() - startTime)/1000 + " seconds."
NNStorage storage = bnImage.getStorage();
NNStorage bnStorage = bnImage.getStorage(); long imageSize = bnImage.getStorage().getFsImageName(txid).length(); LOG.info("Checkpoint completed in " + (monotonicNow() - startTime)/1000 + " seconds."
StorageDirectory sd = bnImage.getStorage().getStorageDir(0); backup.stop(); backup = null;