hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers" <...@cloudera.com>
Subject Re: fs cache giving me headaches
Date Tue, 07 Aug 2012 15:53:14 GMT
On Tue, Aug 7, 2012 at 11:44 AM, Koert Kuipers <koert@tresata.com> 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

Mime
View raw message