Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> fs cache giving me headaches

Copy link to this message
Re: fs cache giving me headaches
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?

Yes, UGIs are compared using identity, not value equality, for exactly this

Aaron T. Myers
Software Engineer, Cloudera