On Tue, Aug 7, 2012 at 11:44 AM, Koert Kuipers <[email protected]> wrote:
> I do create new ugis, and i do not hand them off to threads. However i > assumed that FileSystem.get(conf) would fetch from the filesystem cache > based on the ugi (based on equality that is, not identity). So my > assumption was that if different threads create ugis that are equal, they > would fetch the same FileSystem from the cache. Is that wrong? https://issues.apache.org/jira/browse/HADOOP-6670 Yes, UGIs are compared using identity, not value equality, for exactly this purpose. -- Aaron T. Myers Software Engineer, Cloudera
