-Re: is hadoop FileSystem class thread-safe?
Steve Loughran 2012-08-07, 20:30
> On Sun, Aug 5, 2012 at 6:13 PM, Koert Kuipers <[EMAIL PROTECTED]> wrote:
>> Can i share one instance safely amount multiple threads?
In Hadoop 1.x, FS instances get cached so you end up getting the same
one unless you explicitly say no at the time of retrieval
FileSystem filesys = FileSystem.get(conf);
This is the way to guarantee isolation. newInstance() is a later feature