Generated by
JDiff

Class org.apache.hadoop.fs.FileSystem

Added Methods
Token[] addDelegationTokens(String, Credentials) Obtain all delegation tokens used by this FileSystem that are not already present in the given Credentials.
Collection getAllStoragePolicies() Retrieve all the storage policies supported by this file system.
String getCanonicalServiceName() Get a canonical service name for this file system.
GlobalStorageStatistics getGlobalStorageStatistics() Get the global storage statistics.
QuotaUsage getQuotaUsage(Path) Return the QuotaUsage of a given Path
BlockStoragePolicySpi getStoragePolicy(Path) Query the effective storage policy ID for the given file or directory.
StorageStatistics getStorageStatistics() Get the StorageStatistics for this FileSystem object.
Path getTrashRoot(Path) Get the root directory of Trash for current user when the path specified is deleted.
Collection getTrashRoots(boolean) Get all the trash roots for current user or all users.
long getUsed(Path) Return the total size of all files from a specified path.
void setStoragePolicy(Path, String) Set the storage policy for a given file or directory.
void unsetStoragePolicy(Path) Unset the storage policy set for a given file or directory.
 

Changed Methods
List getAllStatistics() Now deprecated.
use {@link #getGlobalStorageStatistics()}
FSDataOutputStream createNonRecursive(Path, boolean, int, short, long, Progressable) Change from deprecated to undeprecated.
Opens an FSDataOutputStream at the indicated Path with write-progress reporting.
FSDataOutputStream createNonRecursive(Path, FsPermission, boolean, int, short, long, Progressable) Change from deprecated to undeprecated.
Opens an FSDataOutputStream at the indicated Path with write-progress reporting.
FSDataOutputStream createNonRecursive(Path, FsPermission, EnumSet, int, short, long, Progressable) Change from deprecated to undeprecated.
Opens an FSDataOutputStream at the indicated Path with write-progress reporting.
Statistics getStatistics(String, Class) Now deprecated.
use {@link #getGlobalStorageStatistics()}
 

Added Fields
String TRASH_PREFIX