Package org.apache.hadoop.hdfs

Examples of org.apache.hadoop.hdfs.BlockRecoveryCoordinator


        throw new IOException(msg);
      }
      ongoingRecovery.put(block, block);
    }
    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

Related Classes of org.apache.hadoop.hdfs.BlockRecoveryCoordinator

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.