Generated by
JDiff

Class org.apache.hadoop.hdfs.DistributedFileSystem

Changed Constructors
DistributedFileSystem(InetSocketAddress, Configuration) Change from deprecated to undeprecated.
 
 

Removed Methods
boolean delete(Path) Get rid of Path f whether a true file or dir.
String getName() @deprecated
 

Added Methods
void cancelDelegationToken(Token) Cancel an existing delegation token.
void concat(Path, Path[]) THIS IS DFS only operations it is not part of FileSystem move blocks from srcs to trg and delete srcs afterwards all blocks should be the same size
FSDataOutputStream createNonRecursive(Path, FsPermission, EnumSet, int, short, long, Progressable) Same as create() except fails if parent directory doesn't already exist.
Token getDelegationToken(Text) Get a valid Delegation Token.
BlockLocation[] getFileBlockLocations(Path, long, long)  
FsServerDefaults getServerDefaults() {@inheritDoc}
FsStatus getStatus(Path) {@inheritDoc}
boolean mkdir(Path, FsPermission) Create a directory with given name and permission only when parent directory exists.
FSDataOutputStream primitiveCreate(Path, FsPermission, EnumSet, int, short, long, Progressable, int)  
boolean primitiveMkdir(Path, FsPermission)  
void rename(Path, Path, Rename[]) {@inheritDoc} This rename operation is guaranteed to be atomic.
long renewDelegationToken(Token) Renew an existing delegation token.
boolean restoreFailedStorage(String) enable/disable/check restoreFaileStorage
 

Changed Methods
DiskStatus getDiskStatus() Now deprecated.
Use {@link org.apache.hadoop.fs.FileSystem#getStatus()} instead
long getRawCapacity() Now deprecated.
Use {@link org.apache.hadoop.fs.FileSystem#getStatus()} instead
long getRawUsed() Now deprecated.
Use {@link org.apache.hadoop.fs.FileSystem#getStatus()} instead