Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to mount HDFS on Ubuntu 14.04

So,I can't mount HDFS on Ubuntu 14.04. Mucommander not working, fuse not working, can somebody explain me with images or make me some tutorial. Thanks, best regards.

like image 278
user3589613 Avatar asked Oct 02 '14 06:10

user3589613


3 Answers

I successfuly did it today using instructions on Cloudera site

wget http://archive.cloudera.com/cdh5/one-click-install/trusty/amd64/cdh5-repository_1.0_all.deb      
sudo dpkg -i cdh5-repository_1.0_all.deb     
sudo apt-get update       
sudo apt-get install hadoop-hdfs-fuse
sudo mkdir -p <mount_point>
hadoop-fuse-dfs dfs://<name_node_hostname>:<namenode_port> <mount_point>

What OS and version of HDFS do you use?

like image 82
Alex Dvoretsky Avatar answered Oct 20 '22 20:10

Alex Dvoretsky


You have to add the CDH5 repository first (tested on 15.04):

wget http://archive.cloudera.com/cdh5/one-click-install/trusty/amd64/cdh5-repository_1.0_all.deb sudo dpkg -i cdh5-repository_1.0_all.deb sudo apt-get update

Then proceed with @AlexDvoretsky's answer.

like image 5
thSoft Avatar answered Oct 20 '22 19:10

thSoft


Alternative instructions for CDH5 repository installation on Ubuntu 16.04: From Cloudera.

sudo wget 'https://archive.cloudera.com/cdh5/debian/wheezy/amd64/cdh/cloudera.list' -O /etc/apt/sources.list.d/cloudera.list sudo apt-get update sudo apt-get install hadoop-hdfs-fuse

Then back to @AlexDvoretsky's answer

like image 2
Belrog Avatar answered Oct 20 '22 20:10

Belrog