You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2014/05/06 01:14:15 UTC
[jira] [Created] (VFS-523) HdfsFileObject equals method returns
true for the same path on different hosts
Roger Whitcomb created VFS-523:
----------------------------------
Summary: HdfsFileObject equals method returns true for the same path on different hosts
Key: VFS-523
URL: https://issues.apache.org/jira/browse/VFS-523
Project: Commons VFS
Issue Type: Bug
Affects Versions: 2.1
Environment: Windows 7
Reporter: Roger Whitcomb
Priority: Minor
Fix For: 2.1
If I construct two HdfsFileObject referring to the same path (for instance, "/") but on different hosts, the "equals" method will consider them equal (and the "hashCode" method will give the same results for both) even though they clearly refer to different files since they are on different hosts.
These two methods should also factor in the HdfsFileSystem to the equation.
--
This message was sent by Atlassian JIRA
(v6.2#6252)