gpt4 book ai didi

hadoop - 挂载Hadoop文件系统

转载 作者:行者123 更新时间:2023-12-02 21:42:24 25 4
gpt4 key购买 nike

我已按照以下链接将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>

谁能帮我解决这个问题

最佳答案

我通过遵循cloudera的guide成功安装了hadoop-hdfs-fuse来将hdfs挂载为本地文件系统。
您可以将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

根据您的操作系统版本进行一些调整。

关于hadoop - 挂载Hadoop文件系统,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27793729/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com