HDFS : mount.nfs: Connection timed out

background:

HDFS uses the NFS Gateway component to mount the file system to the local directory. Refer to the official website tutorial for the specific configuration process .

Run the following mount command:

 [root]>mount -t nfs -o vers=3,proto=tcp,nolock,noacl,sync $server:/  $mount_point

Appears: mount.nfs: Connection timed out

 

solve:

At that time, the NFS Gateway was installed on only one node, and the above problem occurred. Re-installed NFS Gateway on multiple nodes and successfully mounted the HDFS file system to the local directory.

Guess you like

Origin blog.csdn.net/abcdu1/article/details/105437540