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

Switch to Threaded View
MapReduce, mail # user - RE: Is FileSystem thread-safe?


Copy link to this message
-
RE: Is FileSystem thread-safe?
John Lilley 2013-03-31, 18:27
From: Ted Yu [mailto:[EMAIL PROTECTED]]
Subject: Re: Is FileSystem thread-safe?
>>FileSystem is an abstract class, what concrete class are you using (DistributedFileSystem, etc) ?
Good point.  I am calling FileSystem.get(URI uri, Configuration conf) with an URI like "hdfs://server:port/..." on a remote server, so I assume it is creating a DistributedFileSystem.  However I am not finding any documentation discussing its thread-safety (or lack thereof), perhaps you can point me to it?
Thanks, john