Description
Per Sanjay's suggestion in HADOOP-6421 let's deprecate FileStatus#isDir() and add isDirectory() and isFile() to compliment isSymlink. Currently clients assume !isDir() implies a file, which is no longer true with symlinks. I'll file a separate jira to change the various uses of !isDir() to be isFile() or isFile() or isSymlink() as appropriate.
Attachments
Attachments
Issue Links
- blocks
-
HDFS-995 Replace usage of FileStatus#isDir()
- Closed
-
MAPREDUCE-1535 Replace usage of FileStatus#isDir()
- Closed
- is related to
-
HADOOP-6421 Symbolic links
- Resolved