Examples of moveAsideCorruptFile()


Examples of org.apache.hadoop.hdfs.server.namenode.FileJournalManager.EditLogFile.moveAsideCorruptFile()

          // move away our local copy of the segment
          EditLogFile localCorruptedFile = null;
          try {
            localCorruptedFile = task.getInprogressSegment(remoteStartTxid);
            if (localCorruptedFile != null) {
              localCorruptedFile.moveAsideCorruptFile();
            }
          } catch (Exception e) {
            LOG.warn(logMsg + "exception when marking segment: "
                + localCorruptedFile + " as corrupt.", e);
          }
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.