Uses of Class
org.apache.hadoop.fs.BlockLocation

Packages that use BlockLocation
org.apache.hadoop.fs An abstract file system API. 
org.apache.hadoop.fs.kfs A client for the Kosmos filesystem (KFS) 
org.apache.hadoop.fs.viewfs   
 

Uses of BlockLocation in org.apache.hadoop.fs
 

Methods in org.apache.hadoop.fs that return BlockLocation
 BlockLocation[] LocatedFileStatus.getBlockLocations()
          Get the file's block locations
 BlockLocation[] FileSystem.getFileBlockLocations(FileStatus file, long start, long len)
          Return an array containing hostnames, offset and size of portions of the given file.
 BlockLocation[] FilterFileSystem.getFileBlockLocations(FileStatus file, long start, long len)
           
 BlockLocation[] HarFileSystem.getFileBlockLocations(FileStatus file, long start, long len)
          Get block locations from the underlying fs and fix their offsets and lengths.
abstract  BlockLocation[] AbstractFileSystem.getFileBlockLocations(Path f, long start, long len)
          The specification of this method matches that of FileContext.getFileBlockLocations(Path, long, long) except that Path f must be for this file system.
 BlockLocation[] FileSystem.getFileBlockLocations(Path p, long start, long len)
          Return an array containing hostnames, offset and size of portions of the given file.
 BlockLocation[] FileContext.getFileBlockLocations(Path f, long start, long len)
          Return blockLocation of the given file for the given offset and len.
 

Constructors in org.apache.hadoop.fs with parameters of type BlockLocation
LocatedFileStatus(FileStatus stat, BlockLocation[] locations)
          Constructor
LocatedFileStatus(long length, boolean isdir, int block_replication, long blocksize, long modification_time, long access_time, FsPermission permission, String owner, String group, Path symlink, Path path, BlockLocation[] locations)
          Constructor
 

Uses of BlockLocation in org.apache.hadoop.fs.kfs
 

Methods in org.apache.hadoop.fs.kfs that return BlockLocation
 BlockLocation[] KosmosFileSystem.getFileBlockLocations(FileStatus file, long start, long len)
          Return null if the file doesn't exist; otherwise, get the locations of the various chunks of the file file from KFS.
 

Uses of BlockLocation in org.apache.hadoop.fs.viewfs
 

Methods in org.apache.hadoop.fs.viewfs that return BlockLocation
 BlockLocation[] ViewFileSystem.getFileBlockLocations(FileStatus fs, long start, long len)
           
 BlockLocation[] ViewFs.getFileBlockLocations(Path f, long start, long len)
           
 



Copyright © 2013 Apache Software Foundation. All Rights Reserved.