安装hadoop文件系统

ycl3bljg  于 2021-05-30  发布在  Hadoop
关注(0)|答案(1)|浏览(625)

我遵循以下链接将hdfs装载为本地文件系统
http://solutionsatexperts.com/hadoop-fuse-installation-and-configuration-on-centos/
在下载了hdfs dfs之后,他们提到要安装rpm包。根据link,我已经切换到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>

有人能帮我解决这个问题吗

fdbelqdn

fdbelqdn1#

我成功地安装了hadoop-hdfs-fuse,并按照cloudera的指南将hdfs装载为本地文件系统。
您可以将此文件添加到/etc/yum.repos.d/,作为此处的参考:

[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

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

相关问题