How to mount HDFS on Ubuntu 14.04

后端 未结 4 1570
醉话见心
醉话见心 2020-12-29 11:35

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.

相关标签:
4条回答
  • 2020-12-29 12:21

    I developed a python program that uses FUSE to mount HDFS as a standard filesystem, it also works with Kerberos and it works well: https://github.com/EDS-APHP/py-hdfs-mount

    0 讨论(0)
  • 2020-12-29 12:26

    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.

    0 讨论(0)
  • 2020-12-29 12:26

    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

    0 讨论(0)
  • 2020-12-29 12:33

    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?

    0 讨论(0)
提交回复
热议问题