首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >试图安装Cloudera 5时不正确的Oozie依赖项

试图安装Cloudera 5时不正确的Oozie依赖项
EN

Stack Overflow用户
提问于 2016-03-01 18:40:02
回答 1查看 79关注 0票数 0

我正在我的Hadoop集群(Ubuntu14.04) 遵循这些步骤上安装Cloudera管理器的最新版本。我将列表文件移到了/etc/apt/sources.list.d/目录中,没有意识到其他人也将Ubuntu的精确列表移到了那里。我尽可能多地浏览了安装过程,现在使用Oozie获得了一些奇怪的依赖错误:

代码语言:javascript
复制
% sudo apt-get install cloudera-manager-daemons
Reading package lists... Done
Building dependency tree       
Reading state information... Done
cloudera-manager-daemons is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 oozie : Depends: oozie-client (= 3.1.3+155-1.cdh4.0.1.p0.1~precise-cdh4.0.1) but 4.1.0+cdh5.6.0+235-1.cdh5.6.0.p0.108~trusty-cdh5.6.0 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

当我列出安装的Oozie软件包时,我得到:

代码语言:javascript
复制
% dpkg --list | grep "oozie"                                          
ii  oozie                               3.1.3+155-1.cdh4.0.1.p0.1~precise-cdh4.0.1            all          A workflow and coordinator sytem for Hadoop jobs.
ii  oozie-client                        4.1.0+cdh5.6.0+235-1.cdh5.6.0.p0.108~trusty-cdh5.6.0  all          Client for Oozie Workflow Engine

因此,oozie正在使用精确的安装,而oozie-client使用的是可靠的安装。我无法删除它们(purge给出了类似的结果):

代码语言:javascript
复制
% sudo apt-get  remove oozie-client                                 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 oozie : Depends: oozie-client (= 3.1.3+155-1.cdh4.0.1.p0.1~precise-cdh4.0.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

如果我试图继续执行Cloudera安装,我就会发现奇怪的Oozie依赖错误。有什么想法?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-03-02 15:11:14

原来在一个旧的sources.list文件中有一个错误。一旦它被替换,我就能够运行apt-get更新,这给出了一个不同的错误。看起来它试图停止oozie服务,并碰到语法错误。运行服务oozie stop给出了同样的错误。然后进入initscript /etc/init.d/oozie,取出给出语法错误的行。最后,我能够运行apt-get更新,卸载冲突的oozie版本,并重新安装可靠的版本。

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

https://stackoverflow.com/questions/35730808

复制
相关文章

相似问题

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