Getting "mount.nfs: system call failed" while installing HDFS
I am trying to set the HDFS filesystem according to the content in the url http://hadoop.apache.org/docs/r2.5.1/hadoop-project-dist/hadoop-hdfs/HdfsNfsGateway.html
But in the last mount statement, I get mount.nfs: mount system call failed
I got this output when running the following command:
mount -t nfs -o vers=3,proto=tcp,nolock,noacl <HDFS server name>:/ <existing local directory>
I am running haop in Pseudo Distributed mode.
+3
source to share
1 answer
If you are using root to mount nfs on the client, for example, you need to add the following configuration in the core-site.xml file under $ HADOOP_HOME / etc / hadoop /
<property>
<name>hadoop.proxyuser.root.groups</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.root.hosts</name>
<value>*</value>
</property>
0
source to share