Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
FileStatus#isDir() is deprecated.
FileStatus#isDirectory() should be called instead.
Here is the list of deprecated methods in FileSystem :
public String getName() public static FileSystem getNamed(String name, Configuration conf) public FSDataOutputStream createNonRecursive(Path f, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress) throws IOException { public FSDataOutputStream createNonRecursive(Path f, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress) throws IOException { public short getReplication(Path src) throws IOException { public boolean delete(Path f) throws IOException { public long getLength(Path f) throws IOException { public long getBlockSize(Path f) throws IOException { public long getDefaultBlockSize() { public short getDefaultReplication()
Except for createNonRecursive() which doesn't have non-deprecated equivalent in DistributedFileSystem, deprecated methods are replaced with their non-deprecated counterparts.
Attachments
Attachments
Issue Links
- relates to
-
HBASE-11045 Replace deprecated method FileSystem#createNonRecursive
- Closed