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