To Install Fuse-Dfs On Ubuntu Systems
To Install Fuse-Dfs On Ubuntu Systems
The hadoop-hdfs-fuse package enables you to use your HDFS cluster as if it were a
traditional filesystem on Linux. It is assumed that you have a working HDFS cluster and know
the hostname and port that your NameNode exposes.
mkdir -p <mount_point>
hadoop-fuse-dfs dfs://<name_node_hostname>:<namenode_port> <mount_point>
You can now run operations as if they are on your mount point. Press Ctrl+C to end the fuse-
dfs program, and umount the partition if it is still mounted.
Note:
$ umount <mount_point>
You can now add a permanent HDFS mount which persists through reboots. To add a system
mount:
hadoop-fuse-dfs#dfs://<name_node_hostname>:<namenode_port> <mount_point>
fuse allow_other,usetrash,rw 2 0
For example:
$ mount <mount_point>
Your system is now configured to allow you to use the ls command and use that mount point as
if it were a normal system disk.