In this recipe, we will configure NFS server to export HDFS as a filesystem which can be mounted onto another system and the native operating system commands, such as
cp, and so, on will work efficiently.
As we have seen upto now, the HDFS filesystem is a filesystem which is not understood by Linux shell commands such, as
mkdir, and so the user must use Hadoop commands to perform file operations.
Make sure that the user has a running cluster with at least HDFS configured and working perfectly. Users are expected to have a basic knowledge about Linux and NFS server. The NFS Gateway supports NFSv3 and allows HDFS to be mounted as part of the client's local filesystem.