A workaround has been committed to trunk/branch-2/branch2.2.1.https://issues.apache.org/jira/browse/HDFS-5469
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 <
[EMAIL PROTECTED]> wrote:
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.