Package org.apache.hadoop.hdfs.server.datanode.FSDatasetDelta

Examples of org.apache.hadoop.hdfs.server.datanode.FSDatasetDelta.BlockOperation


          // Block exists in memory
          if (scanInfo.getBlockFile() == null) {
            // Block metadata file exits and block file is missing
            // this is not the case for reconciliation if the block was added or removed
            // during scanning process
            BlockOperation deltaOp = delta.get(namespaceId, memBlock);
            if (deltaOp != BlockOperation.ADD && deltaOp != BlockOperation.REMOVE) {
              statsRecord.missingBlockFile += scanInfo.getBlockFile() == null ? 1 : 0;
              diffRecords.add(ScanDifference.createDiffOutOfSync(scanInfo));
            }
          } else if (scanInfo.getGenStamp() != memBlock.getGenerationStamp()
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hdfs.server.datanode.FSDatasetDelta.BlockOperation

Copyright © 2018 www.massapicom. 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.