Retrieves distinct block locations for the chunk between start and length.
Retrieves distinct block locations for the chunk between start and length.
The locations are returned as hostnames.
Retrieves distinct block locations for a given HDFS file.
Retrieves distinct block locations for a given HDFS file.
As now ofsets are informed, the locations for the whole file are returned.
The locations are returned as hostnames.
Returns the default block size of the HDFS filesystem in megabytes.
Returns the default block size of the HDFS filesystem in megabytes.
An HDFS filesystem
An optional path can be provided if the default block size is path-dependent. The path should not have to exist.
A block size in megabytes and None in case of an error
Reads a text File from Hafoop (HDFS, S3, etc)
This object provides utility methods for interacting with HDFS internals.