Package org.apache.hadoop.hdfs

Examples of org.apache.hadoop.hdfs.BlockRecoveryCoordinator.recoverBlock()


    try {
      BlockRecoveryCoordinator brc = new BlockRecoveryCoordinator(LOG,
          getConf(), socketTimeout, this, namespaceManager.get(namespaceId),
          getDNRegistrationForNS(namespaceId));
     
      return brc.recoverBlock(namespaceId, block, keepLength, datanodeids, closeFile,
          deadline);
    } finally {
      synchronized (ongoingRecovery) {
        ongoingRecovery.remove(block);
      }
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.