Access HDFS from the NFS Gateway

To access HDFS, you must first mount the namespace and then set up the NFS client hosts to interact with HDFS through the Gateway.

  1. Mount the HDFS namespace.
    mount -t nfs -o vers=3,proto=tcp,nolock,sync,rsize=1048576,wsize=1048576 $server:/ $mount_point

    Access HDFS as part of the local file system, except that hard link or symbolic link and random write are not supported.

  2. Set up the NFS client users to interact with HDFS through the NFS Gateway.