Add HDFS system mount
hadoop-hdfs-fuse and configuring the test mount,
you can add a persistent HDFS system mount.
/etc/fstaband append information about the hostname, the NameNode port, and the mount point in the specified format.The format is as follows:
hadoop-fuse-dfs#dfs://<name_node_hostname>:<namenode_port> <mount_point> fuse allow_other,usetrash,rw 2 0
hadoop-fuse-dfs#dfs://localhost:8020 /mnt/hdfs fuse allow_other,usetrash,rw 2 0
Test to make sure the mount point is working properly
lscommand and use that mount point as if it were a normal system disk.
For more information, see the help for