[
https://issues.apache.org/jira/browse/HADOOP-3241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
lohit vijayarenu updated HADOOP-3241:
-------------------------------------
Attachment: HADOOP-3241-2.patch
FileStats#equals() checks if the path contained in FileStatus are equal. if we
consider underConstruction flag being dynamic just like length, then
DFSFileInfo should also just check if path are same. So, for now, I am calling
super.equals. This is also to get rid of findbugs warnings.
> DFSFileInfo should also have field to say if the file is underconstrction
> -------------------------------------------------------------------------
>
> Key: HADOOP-3241
> URL: https://issues.apache.org/jira/browse/HADOOP-3241
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.18.0
> Reporter: lohit vijayarenu
> Attachments: HADOOP-3241-1.patch, HADOOP-3241-2.patch
>
>
> It would be good to have a flag which says if the DFSFileInfo object
> corresponds to a file under construction or not.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.