[ https://issues.apache.org/jira/browse/HDFS-995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins updated HDFS-995: ----------------------------- Attachment: hdfs-995-1.patch Patch attached. The change is pretty small and straight-forward, mostly updates tests. HDFS rarely uses FileStatus internally. The changes in the previous comment don't apply here because those are for INode rather than FileStatus (and those particular checks don't need to be performed since getFileINode fully resolves the link so the returned INode represents either a file or directory). > Replace usage of FileStatus#isDir() > ----------------------------------- > > Key: HDFS-995 > URL: https://issues.apache.org/jira/browse/HDFS-995 > Project: Hadoop HDFS > Issue Type: Improvement > Components: name-node > Affects Versions: 0.22.0 > Reporter: Eli Collins > Assignee: Eli Collins > Fix For: 0.22.0 > > Attachments: hdfs-995-1.patch > > > HADOOP-6585 is going to deprecate FileStatus#isDir(). This jira is for > replacing all uses of isDir() in HDFS with checks of isDirectory(), isFile(), > or isSymlink() as needed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.