private TransactionLog openLog(Path path, long timestamp) { return new HDFSTransactionLog(fs, hConf, path, timestamp, metricsCollector); }
private TransactionLog openLog(Path path, long timestamp) { return new HDFSTransactionLog(fs, hConf, path, timestamp, metricsCollector); }
private HDFSTransactionLog getHDFSTransactionLog(Configuration conf, FileSystem fs, long timeInMillis) throws Exception { String snapshotDir = conf.get(TxConstants.Manager.CFG_TX_SNAPSHOT_DIR); Path newLog = new Path(snapshotDir, LOG_FILE_PREFIX + timeInMillis); return new HDFSTransactionLog(fs, conf, newLog, timeInMillis, metricsCollector); }