Package org.apache.flink.runtime.fs.hdfs

Examples of org.apache.flink.runtime.fs.hdfs.DistributedBlockLocation


        .getFileBlockLocations(f.getInternalFileStatus(), start, len);

    // Wrap up HDFS specific block location objects
    final DistributedBlockLocation[] distBlkLocations = new DistributedBlockLocation[blkLocations.length];
    for (int i = 0; i < distBlkLocations.length; i++) {
      distBlkLocations[i] = new DistributedBlockLocation(blkLocations[i]);
    }

    return distBlkLocations;
  }
View Full Code Here

TOP

Related Classes of org.apache.flink.runtime.fs.hdfs.DistributedBlockLocation

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.