hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jay vyas <jayunit100.apa...@gmail.com>
Subject Re:
Date Fri, 26 Sep 2014 18:41:30 GMT
See https://wiki.apache.org/hadoop/HCFS/

YES Yarn is written to the FileSystem interface.  It works on S3FileSystem
and GlusterFileSystem and any other HCFS.

We have run , and continue to run, the many tests in apache bigtop's test
suite against our hadoop clusters running on alternative file system
implementations,
and it works.

When you say "HDFS does not support fs.AbstractFileSystem.s3.impl".... That
is true.  If your file system is configured using HDFS, then s3 urls will
not be used, ever.

When you create a FileSystem object in hadoop, it reads the uri (i.e.
"glusterfs:///") and then finds the file system binding in your
core-site.xml (i.e. fs.AbstractFileSystem.glusterfs.impl).

So the URI must have a corresponding entry in the core-site.xml.

As a reference implementation, you can see
https://github.com/gluster/glusterfs-hadoop/blob/master/conf/core-site.xml




On Fri, Sep 26, 2014 at 10:10 AM, Naganarasimha G R (Naga) <
garlanaganarasimha@huawei.com> wrote:

>   Hi All,
>
>  I have following doubts on pluggable FileSystem and YARN
> 1. If all the implementations should extend FileSystem then why there is a
> parallel class AbstractFileSystem. which ViewFS extends ?
> 2. Is YARN supposed to run on any of the pluggable
> org.apache.hadoop.fs.FileSystem like s3 ?
> if its suppose to run then when submitting a job in the client side
>  YARNRunner is calling FileContext.getFileContext(this.conf);
> which is further calling FileContext.getAbstractFileSystem() which throws
> exception for S3.
> So i am not able to run YARN job with ViewFS with S3 as mount. And based
> on the code even if i configure only S3 then also its going to fail.
> 3. HDFS does not support "fs.AbstractFileSystem.s3.impl" with some default
> class similar to org.apache.hadoop.fs.s3.S3FileSystem ?
>
>    Regards,
>
> Naga
>
>
>
> Huawei Technologies Co., Ltd.
> Phone:
> Fax:
> Mobile:  +91 9980040283
> Email: naganarasimhagr@huawei.com
> Huawei Technologies Co., Ltd.
> http://www.huawei.com
>
>
>


-- 
jay vyas

Mime
View raw message