You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2012/12/18 08:14:14 UTC

[jira] [Created] (HDFS-4321) FileSystem class should override .equals(Object)

Thejas M Nair created HDFS-4321:
-----------------------------------

             Summary: FileSystem class should override .equals(Object)
                 Key: HDFS-4321
                 URL: https://issues.apache.org/jira/browse/HDFS-4321
             Project: Hadoop HDFS
          Issue Type: Improvement
    Affects Versions: 1.1.1
            Reporter: Thejas M Nair


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