You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Mark Hedges <he...@formdata.biz> on 2011/12/17 01:07:31 UTC

hdfs-nfs - through chokepoint or balanced?

Hi.  Sorry for my ignorance or if I missed the answer to
this question in the docs.

Does HDFS NFS mount balance the load like it would for
regular usage from within a hadoop cluster?

It splits up the files and moves them to the node nearest to
the NFS client?

Or does all the NFS network traffic go through one node?

Thanks for the info.

Mark

Re: hdfs-nfs - through chokepoint or balanced?

Posted by alo alt <wg...@googlemail.com>.
Hi,

as Ted says, HDFS does not support NFS native (yet). With libhdfs
(http://wiki.apache.org/hadoop/LibHDFS) you can mount HDFS over FUSE
(filesystem in userspace) and later export ovre NFS or CIFS. For my
projects I use CIFS and it works quite well. Here you can work as
usual with Linux based samba servers (HA, Failover etc). Take a look
into my blog.

But at least - you have to descide if you prefer OpenSource or
ClosedSource. That is your choice.

- Alex

On Sat, Dec 17, 2011 at 2:46 AM, Ted Dunning <td...@maprtech.com> wrote:
> Joey is speaking precisely, but in an intentionally very limited way.
>  Apache HDFS, the file system that comes with Apache Hadoop does not support
> NFS.
>
> On the other hand, maprfs which is a part of the commercial MapR
> distribution which is based on Apache Hadoop does support NFS natively and
> without the limitations that Joey describes.  Native NFS support is one of
> many major feature enhancements that MapR provides.  Contact me off-list for
> more details to avoid spamming this Hadoop oriented list.
>
> You may want to address your question to the http://answers.mapr.com
> questions site.  I would be happy to answer at length there.
>
>
> On Fri, Dec 16, 2011 at 5:04 PM, Joey Echeverria <jo...@cloudera.com> wrote:
>>
>> HDFS doesn't natively support NFS. In order to export HDFS via NFS you'd
>> have to mount it to the local file system with fuse and then export that
>> directory. In that case, all traffic would go through the host acting as the
>> NFS server.
>>
>> -Joey
>>
>> On Dec 16, 2011, at 19:07, Mark Hedges <he...@formdata.biz> wrote:
>>
>> >
>> > Hi.  Sorry for my ignorance or if I missed the answer to
>> > this question in the docs.
>> >
>> > Does HDFS NFS mount balance the load like it would for
>> > regular usage from within a hadoop cluster?
>> >
>> > It splits up the files and moves them to the node nearest to
>> > the NFS client?
>> >
>> > Or does all the NFS network traffic go through one node?
>> >
>> > Thanks for the info.
>> >
>> > Mark
>
>



-- 
Alexander Lorenz
http://mapredit.blogspot.com

P Think of the environment: please don't print this email unless you
really need to.

Re: hdfs-nfs - through chokepoint or balanced?

Posted by Ted Dunning <td...@maprtech.com>.
Joey is speaking precisely, but in an intentionally very limited way.
 Apache HDFS, the file system that comes with Apache Hadoop does not
support NFS.

On the other hand, maprfs which is a part of the commercial MapR
distribution which is based on Apache Hadoop does support NFS natively and
without the limitations that Joey describes.  Native NFS support is one of
many major feature enhancements that MapR provides.  Contact me off-list
for more details to avoid spamming this Hadoop oriented list.

You may want to address your question to the
http://answers.mapr.comquestions site.  I would be happy to answer at
length there.

On Fri, Dec 16, 2011 at 5:04 PM, Joey Echeverria <jo...@cloudera.com> wrote:

> HDFS doesn't natively support NFS. In order to export HDFS via NFS you'd
> have to mount it to the local file system with fuse and then export that
> directory. In that case, all traffic would go through the host acting as
> the NFS server.
>
> -Joey
>
> On Dec 16, 2011, at 19:07, Mark Hedges <he...@formdata.biz> wrote:
>
> >
> > Hi.  Sorry for my ignorance or if I missed the answer to
> > this question in the docs.
> >
> > Does HDFS NFS mount balance the load like it would for
> > regular usage from within a hadoop cluster?
> >
> > It splits up the files and moves them to the node nearest to
> > the NFS client?
> >
> > Or does all the NFS network traffic go through one node?
> >
> > Thanks for the info.
> >
> > Mark
>

Re: hdfs-nfs - through chokepoint or balanced?

Posted by Joey Echeverria <jo...@cloudera.com>.
HDFS doesn't natively support NFS. In order to export HDFS via NFS you'd have to mount it to the local file system with fuse and then export that directory. In that case, all traffic would go through the host acting as the NFS server. 

-Joey

On Dec 16, 2011, at 19:07, Mark Hedges <he...@formdata.biz> wrote:

> 
> Hi.  Sorry for my ignorance or if I missed the answer to
> this question in the docs.
> 
> Does HDFS NFS mount balance the load like it would for
> regular usage from within a hadoop cluster?
> 
> It splits up the files and moves them to the node nearest to
> the NFS client?
> 
> Or does all the NFS network traffic go through one node?
> 
> Thanks for the info.
> 
> Mark