简体   繁体   中英

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.

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?

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 .

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

我开发了一个python程序,它使用FUSE将HDFS挂载为标准文件系统,它也可以与Kerberos一起使用,并且运行良好: https//github.com/EDS-APHP/py-hdfs-mount

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM