editsDirs.add(new StorageDirectory(FileSystem.get(conf), new Path(params.hdfsPath, "editlogs_v9")));
}else{
editsDirs.add(new StorageDirectory(FileSystem.getLocal(conf), new Path(params.baseDir, "editlogs_v9")));
}
LOG.info("recoverFromEditlog begin:"+this.params.getLogStr());
editlog = new FSEditLog(conf, editsDirs);
editlog.initJournalsForWrite();
editlog.recoverUnclosedStreams();
long savedTxid=this.data.getMaxTxidFromLocal();
if(isUsedHdfs)
{