挂载Hadoop文件系统

时间:2015-01-06 07:05:24

标签: hadoop ubuntu-12.04 hdfs fuse

我已按照以下链接将HDFS挂载为本地文件系统

http://solutionsatexperts.com/hadoop-fuse-installation-and-configuration-on-centos/

下载hdfs-dfs后,他们提到安装rpm包。根据链接,我已切换到root并键入命令

yum install fuse*

但它显示

There are no enabled repos.
Run "yum repolist all" to see the repos you have.
You can enable repos with yum-config-manager --enable <repo>

任何人都可以帮我解决这个问题

1 个答案:

答案 0 :(得分:0)

我成功安装了hadoop-hdfs-fuse,将hdfs挂载为本地文件系统,方法是按照cloudera中的guide进行操作。
您可以将此类file添加到/etc/yum.repos.d/,作为参考here

[cloudera-cdh5]
# Packages for Cloudera's Distribution for Hadoop, Version 5, on RedHat or CentOS 6 x86_64
name=Cloudera's Distribution for Hadoop, Version 5
baseurl=https://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/5/
gpgkey=https://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/RPM-GPG-KEY-cloudera    
gpgcheck=1

根据你的操作系统版本做一些调整。