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

Examples of org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface.FSVolumeInterface


   
    int startVolume = curVolume;
    long maxAvailable = 0;
   
    while (true) {
      FSVolumeInterface volume = volumes.get(curVolume);
      curVolume = (curVolume + 1) % volumes.size();
      long availableVolumeSize = volume.getAvailable();
      if (availableVolumeSize > blockSize) { return volume; }
     
      if (availableVolumeSize > maxAvailable) {
        maxAvailable = availableVolumeSize;
      }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface.FSVolumeInterface

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.