1. 程式人生 > >ambari單節點安裝過程中的一些問題

ambari單節點安裝過程中的一些問題


 

問題1:Confirm Hosts時,遇到Repository的問題

Error Summary
-------------

Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration

出現類似這種錯誤的,是yum源的問題,簡單來說是你配置的yum倉庫出現重複,需要僅僅留一個就可以了。具體做法就是:將/etc/repos.d/*.repo僅僅留下

再重來,就不報上面的錯誤了。

問題2:Confirm Hosts時,遇到 Transaction Check Error 的問題

Transaction check error: file /etc/sudoers.d from install of ambari-agent-2.0.0-151.x86_64 conflicts with file from package sudo-1.8.6p7-13.el7.x86_64
這個問題找了好久,最後才發現是版本問題,真是醉了。隊友給的是centos6的版本安裝說明,但沒有標註版本,按照他的說明文件一路執行也不報錯,最後到這裡,卡住了。發現問題後,更改為centos7的版本,就一路綠燈安裝成功了。