hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Li <bran...@hortonworks.com>
Subject Re: HDFS-NFS Windows
Date Mon, 11 Nov 2013 18:59:39 GMT
A workaround has been committed to trunk/branch-2/branch2.2.1.

Now users can define any HDFS sub-directory to share. We can just add the
following property in hdfs-site.xml.

Another thing with mounting NFS on Windows is the user mapping between
Windows accounts and Linux accounts.

Not that, if the users don't care about the files ownership,  they don't
even need to map Window user to Linux user. NFS gateway maps all unknown
user/group to "nobody"/"nobody", which have the Linux (UID, GID) as (-2,

In this case, to let Windows user access HDFS through NFS, all we need to
do is to create a directory with access mode 777 in HDFS. Then export that
directory or its parent directory(as long as it's not root "/").  After
mount it as a drive on Windows, any Windows user can access it.


On Mon, Nov 11, 2013 at 7:04 AM, Ian Jackson <
Ian_Jackson@trilliumsoftware.com> wrote:

>  A slight syntax error in my net use command, you must have a colon after
> the drive letter. For example (be sure to replace the with
> your host name or IP address):
> net use Z: \\\!

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.

View raw message