Search This Blog

Saturday, April 6, 2013

Cloudera CDH3 HDFS Fuse on CentOS 6.2

Goto this site (or the RPM Repo for your version of cloudera) and download 'lib-hdfs' and 'fuse' RPMs.

On your server that you want the mount point, install 'fuse' and 'fuse-libs' from the BaseRepo.

# yum install -y fuse
# yum install -y fuse-libs

Then Install the RPMs you downloaded (in this order)

# rpm -Uvh hadoop-0.20-libhdfs-0.20.2+923.142-1.x86_64.rpm
# rpm -Uvh hadoop-0.20-fuse-0.20.2+923.142-1.x86_64.rpm

# mkdir /mnt/fuse
# hadoop-fuse-dfs dfs://(namenode-hostname):(port) /mnt/fuse


The default port for a namenode is 8020