Mount on Windows client is a bit different. Here are the steps to mount
export on Windows:

1. Enable NFS Client on the Windows client system.

Step 1. Enable File Services Role. Go to Server Management – > Add Roles ->
File Services

Step 2. Install Services for Network File System. Go to File Services – >
Add Role Services

2. Mount the export, can use either mount command or "net use" command:
c:> mount * 192.168.111.158! <== note, "*" can also be a drive character
here
c:> net use Z: 192.168.111.158!

(there is a space between Z: and <IP-address>!

another important thing is ! mark, this does the trick. Withoutout !,
Windows NFS client doesn't work with root export "/")

There is a user mapping issue: map Windows users to Linux users.
Since NFS gateway doesn't recognize Windows users, it maps them to the
Linux user "nobody".

To do any data I/O test, you can create a directory on HDFS and give
everyone access permission.

In reality, most administrators use Windows AD server to manage the user
mapping between Windows and Linux systems so the user mapping is not an
issue in those environments.
 Thanks,
Brandon


On Fri, Dec 20, 2013 at 4:06 PM, Brandon Li <[email protected]> wrote:

>
> Hi Kurt,
>
> You can use the HDFS NFS gateway to mount HDFS. The limitation is that
> random write is not supported.
>
> JIRA HDFS-5347 added a user guider.
> https://issues.apache.org/jira/browse/HDFS-5347
> There is the html attachment to this JIRA:
> HdfsNfsGateway.new.html
> <https://issues.apache.org/jira/secure/attachment/12609530/HdfsNfsGateway.new.html>
>
> If you are using branch 2.3, 2.4 or trunk, "mvn site" will generate the
> user guide too.
>
> Thanks,
> Brandon
>
>
> On Fri, Dec 20, 2013 at 2:27 PM, Kurt Moesky <[email protected]> wrote:
>
>> I am a new to HDFS and reviewing some of the features for in-house use.
>>
>> Is there a way to mount HDFS directly on a Linux and Windows client? I
>> believe I read something about there being some limitations, but that there
>> is possibly a FUSE solution. Any information on this (with links to a
>> how-to) would be greatly appreciated.
>>
>> Thx.
>>
>
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to