Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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?
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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB