FileSystem is an abstract class, what concrete class are you using
(DistributedFileSystem, etc) ? For FileSystem, I find the following for
create() method:
* but the implementation is thread-safe. The other option is to change
the
* value of umask in configuration to be 0, but it is not thread-safe.
...
public static FSDataOutputStream create(FileSystem fs,
Path file, FsPermission permission) throws IOException {
On Sun, Mar 31, 2013 at 1:45 AM, John Lilley <[email protected]>wrote:
> In other words, given an instance of org.apache.hadoop.fs.FileSystem,
> can multiple threads access it simultaneously? I am assuming no since it
> is not synchronized.****
>
> ** **
>
> Thanks,****
>
> *John Lilley*
>
> ** **
>