首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Ambari BigInsights安装向导“Error: Nothing to do”

Ambari BigInsights安装向导“Error: Nothing to do”
EN

Stack Overflow用户
提问于 2015-08-07 23:53:16
回答 2查看 533关注 0票数 0

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

更详细地检查故障,它会显示如下消息:

代码语言:javascript
复制
yum -d 0 -e 0 -y install iop-select
Error: Nothing to do
EN

回答 2

Stack Overflow用户

发布于 2015-08-08 05:14:06

Yum找不到iop-select包,它被列为Ambari向导正在安装的某个服务的必需包。发生这种情况有以下几个原因:

  • 你有一个陈旧的美味数据库。

Solution:通过运行以下命令进行刷新:

sudo yum clean all

  • 包含您试图安装的服务的安装位的存储库未在repoinfo.xml文件中配置。

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重启后,您可以再次尝试安装。

票数 1
EN

Stack Overflow用户

发布于 2015-08-08 00:00:58

由于缺少repos的初始化,群集中的所有节点似乎都无法安装,例如:

代码语言:javascript
复制
# 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.

但是,如果我们清理系统,那么我就可以发现所需的软件包:

代码语言:javascript
复制
# 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.

在此之后,您会发现所有的安装都没有任何错误。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/31881925

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档