hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-6585) Add FileStatus#isDirectory and isFile
Date Mon, 22 Feb 2010 03:34:27 GMT
Add FileStatus#isDirectory and isFile
-------------------------------------

                 Key: HADOOP-6585
                 URL: https://issues.apache.org/jira/browse/HADOOP-6585
             Project: Hadoop Common
          Issue Type: Improvement
          Components: fs
    Affects Versions: 0.22.0
            Reporter: Eli Collins
            Assignee: Eli Collins
             Fix For: 0.22.0


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message