void clear() throws IOException { setBytes(null, 0); reader = null; this.version = 0; }
"Received txn batch starting at %s but expected %s", firstTxId, lastAppliedTxId + 1); assert backupInputStream.length() == 0 : "backup input stream is not empty"; try { if (LOG.isTraceEnabled()) { new FSEditLogLoader(getNamesystem(), lastAppliedTxId); int logVersion = storage.getLayoutVersion(); backupInputStream.setBytes(data, logVersion); backupInputStream.clear();
"Received txn batch starting at %s but expected %s", firstTxId, lastAppliedTxId + 1); assert backupInputStream.length() == 0 : "backup input stream is not empty"; try { if (LOG.isTraceEnabled()) { new FSEditLogLoader(getNamesystem(), lastAppliedTxId); int logVersion = storage.getLayoutVersion(); backupInputStream.setBytes(data, logVersion); getNamesystem().dir.rootDir, quotaInitThreads); } finally { backupInputStream.clear();
"Received txn batch starting at %s but expected %s", firstTxId, lastAppliedTxId + 1); assert backupInputStream.length() == 0 : "backup input stream is not empty"; try { if (LOG.isTraceEnabled()) { new FSEditLogLoader(getNamesystem(), lastAppliedTxId); int logVersion = storage.getLayoutVersion(); backupInputStream.setBytes(data, logVersion); backupInputStream.clear();
void clear() throws IOException { setBytes(null, 0); reader = null; this.version = 0; }
void clear() throws IOException { setBytes(null, 0); reader = null; this.version = 0; }