Search This Blog

Showing posts with label dfs. Show all posts
Showing posts with label dfs. Show all posts

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.

http://archive.cloudera.com/redhat/6/x86_64/cdh/3u2/RPMS/x86_64/

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

Done!

The default port for a namenode is 8020