今天,我在一个服务器集群上使用Ambari进行了一些测试,以便可以部署BigInsights镜像。一切似乎都很顺利,所有的组件都配置好了,直到它完成最后的安装。我看到一张类似于这个的图片-

更详细地检查故障,它会显示如下消息:
yum -d 0 -e 0 -y install iop-select
Error: Nothing to do发布于 2015-08-08 05:14:06
Yum找不到iop-select包,它被列为Ambari向导正在安装的某个服务的必需包。发生这种情况有以下几个原因:
Solution:通过运行以下命令进行刷新:
sudo yum clean all
Ambari Solution:检查中的堆栈定义,确保存储库信息存在且正确。例如,在IOP 4.0中,您将检查文件:
/var/lib/ambari-server/resources/stacks/BigInsights/4.0/repos/repoinfo.xml
要确保它具有类似于以下内容的条目:
http://ibm-open-platform.ibm.com/repos/IOP/RHEL6/x86_64/4.0 IOP-4.0 IOP
如果不存在,请为您正在使用的BigInsights/IOP版本添加正确的条目,保存该文件,最后通过运行以下命令重新启动ambari服务器:
sudo ambari-服务器重启
ambari-server重启后,您可以再次尝试安装。
发布于 2015-08-08 00:00:58
由于缺少repos的初始化,群集中的所有节点似乎都无法安装,例如:
# yum search iop
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
================================= N/S Matched: iop ===================================
xorg-x11-fonts-ethiopic.noarch : Ethiopic fonts
Name and summary matches only, use "search all" for everything.但是,如果我们清理系统,那么我就可以发现所需的软件包:
# yum clean all
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security,
subscription-manager
Cleaning repos: BI_AMBARI-2.1.0-20150806_1901 IOP-4.1 IOP-UTILS-1.0 hostdb
RHEL-ha RHEL-lb RHEL-optional RHEL-supplementary
: RHEL-updates RHEL-v2vwin rhel-x86_64-server-6
Cleaning up Everything
# yum search iop
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security,
subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
--<cut>--
=============================== N/S Matched: iop =================================
xorg-x11-fonts-ethiopic.noarch : Ethiopic fonts
**iop-select.noarch : Distribution Select**
Name and summary matches only, use "search all" for everything.在此之后,您会发现所有的安装都没有任何错误。
https://stackoverflow.com/questions/31881925
复制相似问题