Package org.apache.hadoop.hdfs.server.namenode

Examples of org.apache.hadoop.hdfs.server.namenode.FSImageTransactionalStorageInspector


    checkpointImageDigests.clear();
  }
 
  public RemoteImageManifest getImageManifest(long fromTxid) throws IOException {
    checkImageStorageFormatted();
    FSImageTransactionalStorageInspector inspector = new FSImageTransactionalStorageInspector();
    inspector.inspectDirectory(imageStorage.getSingularStorageDir());
    List<RemoteImage> results = Lists.newArrayList();

    for (FSImageFile foundImage : inspector.getFoundImages()) {
      // skip older images
      if (foundImage.getCheckpointTxId() < fromTxid) {
        continue;
      }
      // get md5 if exists
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hdfs.server.namenode.FSImageTransactionalStorageInspector

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.