Examples of EditLogFile


Examples of org.apache.hadoop.hdfs.server.namenode.FileJournalManager.EditLogFile

      backup.stop();
      backup = null;
     
      // When shutting down the BN, it shouldn't finalize logs that are
      // still open on the NN
      EditLogFile editsLog = FSImageTestUtil.findLatestEditsLog(sd);
      assertEquals(editsLog.getFirstTxId(),
          nn.getFSImage().getEditLog().getCurSegmentTxId());
      assertTrue("Should not have finalized " + editsLog,
          editsLog.isInProgress());
     
      // do some edits
      assertTrue(fileSys.mkdirs(new Path("/edit-while-bn-down")));
     
      // start a new backup node
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.