分享

安装CDH遇到:Failed to install jdk package

在参照:http://www.aboutyun.com/thread-9303-1-1.html   安装CDH时候failed,error如下:
我是从官网下的 cloudera-manager-installer.rar,然后按文中指导操作,我已经试过重新安装yum,手动安装jdk都无法解决。
网上说需要更新cloudera-manager解决:
http://grokbase.com/t/cloudera/s ... package-failed-step
https://community.cloudera.com/t ... ing/m-p/14078#M1658
我该如何查看clouderaManger的版本信息,如何更新。


Error infos:
Installing jdk package...
BEGIN yum list installed jdk
Loaded plugins: fastestmirror, refresh-packagekit, security
Error: No matching Packages to list
END (1)
BEGIN yum info jdk
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
Available Packages
Name : jdk
Arch : x86_64
Epoch : 2000
Version : 1.6.0_31
Release : fcs
Size : 68 M
Repo : cloudera-manager
Summary : Java(TM) Platform Standard Edition Development Kit
URL : http://java.sun.com/
License : Copyright (c) 2011, Oracle and/or its affiliates. All rights
: reserved. Also under other license(s) as shown at the Description
: field.
Description : The Java Platform Standard Edition Development Kit (JDK) includes
: both the runtime environment (Java virtual machine, the Java
: platform classes and supporting files) and development tools
: (compilers, debuggers, tool libraries and other tools).
:
: The JDK is a development environment for building applications,
: applets and components that can be deployed with the Java Platform
: Standard Edition Runtime Environment.

END (0)
BEGIN yum -y install jdk.x86_64
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
Resolving Dependencies
--> Running transaction check
---> Package jdk.x86_64 2000:1.6.0_31-fcs will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
jdk x86_64 2000:1.6.0_31-fcs cloudera-manager 68 M

Transaction Summary
================================================================================
Install 1 Package(s)

Total download size: 68 M
Installed size: 143 M
Downloading Packages:
https://archive.cloudera.com/cm5 ... 31-linux-amd64.rpm: [Errno 14] PYCURL ERROR 18 - "transfer closed with 26385019 bytes remaining to read"
Trying other mirror.


Error Downloading Packages:
2000:jdk-1.6.0_31-fcs.x86_64: failure: RPMS/x86_64/jdk-6u31-linux-amd64.rpm from cloudera-manager: [Errno 256] No more mirrors to try.

END (1)
remote package jdk could not be installed, giving up
waiting for rollback request


已有(2)人评论

跳转到指定楼层
starrycheng 发表于 2017-4-24 13:49:09
哪个版本的,可以自己安装jdk.省去麻烦
建议多参考几个,下面推荐
CDH5.8.0安装入门
http://www.aboutyun.com/forum.php?mod=viewthread&tid=20345


回复

使用道具 举报

youngwenhao 发表于 2017-4-25 10:17:14
starrycheng 发表于 2017-4-24 13:49
哪个版本的,可以自己安装jdk.省去麻烦
建议多参考几个,下面推荐
CDH5.8.0安装入门

你好,我还参考了https://www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_example_embedded_database_centos.html
我用的是http://archive.cloudera.com/cm5/installer/latest/cloudera-manager-installer.bin 然后自动安装。
在附件图中install jdk的时候failed。我都手动装了jdk8了。还是failed。
failedinfos.png
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条