I'm trying to mount my HDFS using the NFS gateway as it is documented here: http://hadoop.apache.org/docs/r2.7.1/hadoop-project-dist/hadoop-hdfs/HdfsNfsGateway.html
Unfortunately, following the documentation step by step does not work for me (Hadoop 2.7.1 on CentOS 6.6). When executing the mount command I receive the following error message:
[root@server1 ~]# mount -t nfs -o vers=3,proto=tcp,nolock,noacl,sync server1:/ /hdfsmount/ mount.nfs: mounting server1:/ failed, reason given by server: No such file or directory
I created the folder hdfsmount so that I can say it definitely exists. My questions are now:
- Did anyone faced the same issue as I do?
- Do I have to configure the NFS server before I start following the steps in the documentation (e.g. I read about editing /etc/exports).
Any help is highly apreciated!