Eric Yang created AMBARI-21748:
----------------------------------
Summary: Mount NFS as local mounts on datanodes
Key: AMBARI-21748
URL: https://issues.apache.org/jira/browse/AMBARI-21748
Project: Ambari
Issue Type: Improvement
Reporter: Eric Yang
When NFS Proxy is deployed on all datanodes, it would be nice to locally mount
local instance of NFS Proxy to /mnt/hdfs. This helps Docker containers running
on YARN to write to HDFS without embedding HDFS client.
This can be done as:
{code}
mount -t nfs -o vers=3,proto=tcp,nolock,noacl,sync `hostname`:/ /mnt/hdfs
{code}
Or in /etc/fstab, add:
{code}
localhost:/ /hdfs nfs rw,vers=3,proto=tcp,nolock,timeo=600 0 0
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)