Generated by
JDiff

Class org.apache.hadoop.fs.FileSystem

Removed Methods
long getContentLength(Path) Return the number of bytes of the given path If f is a file, return the size of the file; If f is a directory, return the size of the directory tree
String[][] getFileCacheHints(Path, long, long) @deprecated Use getFileBlockLocations() instead Return a 2D array of size 1x1 or greater, containing hostnames where portions of the given file can be found.
 

Added Methods
FSDataOutputStream append(Path) Append to an existing file (optional operation).
FSDataOutputStream append(Path, int) Append to an existing file (optional operation).
FSDataOutputStream append(Path, int, Progressable) Append to an existing file (optional operation).
boolean deleteOnExit(Path) Mark a path to be deleted when FileSystem is closed.
BlockLocation[] getFileBlockLocations(FileStatus, long, long) Return an array containing hostnames, offset and size of portions of the given file.
void processDeleteOnExit() Delete all files that were marked as delete-on-exit.
 

Changed Methods
BlockLocation[] getFileBlockLocations(Path, long, long) Now deprecated.
use {@link #getFileBlockLocations(FileStatus, long, long)}