hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Li (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9159) FileSystem class should override .equals(Object)
Date Wed, 19 Dec 2012 22:39:13 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-9159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brandon Li updated HADOOP-9159:
-------------------------------

    Attachment: HADOOP-9159.patch

Attached trunk patch uses CanonicalUri to compare two file systems.
                
> FileSystem class should override .equals(Object)
> ------------------------------------------------
>
>                 Key: HADOOP-9159
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9159
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 1.1.1, 3.0.0
>            Reporter: Thejas M Nair
>            Assignee: Brandon Li
>         Attachments: HADOOP-9159.patch
>
>
> The FileSystem class has a notion of equality, based on the uri. The class should override
.equal(Object) so that it returns true if FileSystem objects are logically same. 
> This is useful when FileSystem cache is disabled, as FileSystem.get(..) will return new
object each time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message