Yum安装Hadoop未找到错误CENTOS



我正试图按照hadoop For Dummies一书中列出的说明在虚拟机上设置hadoop环境。

其中一个步骤指示以下代码-

yum install hadoop* mahout* oozie* hbase* pig* hive* zookeeper* hue*

当我运行时,我得到以下错误-

[root@localhost Desktop]# yum install hadoop*
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: centos.mirror.crucial.com.au
 * extras: centos.mirror.crucial.com.au
 * updates: centos.mirror.nsw.au.glovine.com.au
base                                                     | 3.7 kB     00:00     
extras                                                   | 3.4 kB     00:00     
updates                                                  | 3.4 kB     00:00     
Setting up Install Process
No package hadoop* available.
Error: Nothing to do

在所有的hadoop、zookeeper和hue中,我得到了一个错误,说找不到包裹。我查看了那些镜像站点,确实发现hadoop不存在。有没有办法把镜子移到其他地方?

编辑-

正如下面所指出的,我确实尝试了使用以下命令获取回购的命令-

wget -O /etc/yum.repos.d/bigtop.repo http://archive.apache.org/dist/bigtop/bigtop-1.0.0/repos/centos6/bigtop.repo

正在引发以下连接拒绝错误-

[root@localhost Desktop]# wget -O /etc/yum.repos.d/bigtop.repo http://www.apache.org/dist/bigtop/bigtop-1.0.0/repos/centos6/bigtop.repo
--2015-12-30 05:03:09--  http://www.apache.org/dist/bigtop/bigtop-1.0.0/repos/centos6/bigtop.repo
Resolving www.apache.org... 88.198.26.2, 140.211.11.105, 2a01:4f8:130:2192::2
Connecting to www.apache.org|88.198.26.2|:80... failed: Connection refused.
Connecting to www.apache.org|140.211.11.105|:80... failed: Connection refused.
Connecting to www.apache.org|2a01:4f8:130:2192::2|:80... failed: Network is unreachable.

同样,我确实尝试了用户1862493指出的CDH一键安装,我得到了以下错误

[root@localhost Desktop]# wget https://archive.cloudera.com/cdh5/one-click-install/redhat/6/x86_64/cloudera-cdh-5-0.x86_64.rpm
--2015-12-30 05:07:49--  https://archive.cloudera.com/cdh5/one-click-install/redhat/6/x86_64/cloudera-cdh-5-0.x86_64.rpm
Resolving archive.cloudera.com... 23.235.41.167
Connecting to archive.cloudera.com|23.235.41.167|:443... failed: Connection refused.

百胜更新运行良好,虚拟机中的互联网也是如此,有什么帮助吗?

您需要首先添加存储库。

wget https://archive.cloudera.com/cdh5/one-click-install/redhat/6/x86_64/cloudera-cdh-5-0.x86_64.rpm
yum --nogpgcheck localinstall cloudera-cdh-5-0.x86_64.rpm
 yum clean all

然后尝试安装hadoop组件。

参考http://www.cloudera.com/content/www/en-us/documentation/enterprise/latest/topics/cdh_ig_cdh5_install.html#topic_4_4_1_unique_2__p_31_unique_2

最新更新