首页   注册   登录
 lcdxiangzi 最近的时间轴更新

lcdxiangzi

V2EX 第 318465 号会员,加入于 2018-05-25 09:00:24 +08:00
今日活跃度排名 9461
lcdxiangzi 最近回复了
@TomVista 但是这种地方,大概率是小螺丝钉吧
@sunchen 多谢,我这里不是仔细不仔细的问题,我是压根没有看文档,网上找了个帖子就开干了。😅😅😅
吸取教训,老实看文档去了
谢谢👏👏👏
@boris1993
@fireapp
感谢提供思路
@fireapp #17
+======================================================================+
| Error: Unable to find a compatible version of Java on this host,|
| either because JAVA_HOME has not been set or because a |
| compatible version of Java is not installed. |
+----------------------------------------------------------------------+
| Please install either: |
| - a supported version of the Oracle JDK from the Oracle Java web |
| site: |
| > http://www.oracle.com/technetwork/java/javase/index.html < |
| OR |
| - a supported version of the OpenJDK from your OS vendor. Help for |
| some OSes are available at: |
| > http://openjdk.java.net/install/ < |
| |
| Cloudera Manager requires Oracle JDK or OpenJDK 1.8 or later. |
| NOTE: Cloudera Manager will find the Oracle JDK when starting, |
| regardless of whether you installed the JDK using a binary |
| installer or the RPM-based installer. |
+======================================================================+
error: %pre(cloudera-manager-daemons-6.2.0-968826.el7.x86_64) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package cloudera-manager-daemons-6.2.0-968826.el7.x86_64
error: cloudera-manager-daemons-6.2.0-968826.el7.x86_64: install failed
正在安装 : cloudera-manager-agent-6.2.0-968826.el7.x86_64 2/2
Created symlink from /etc/systemd/system/multi-user.target.wants/cloudera-scm-agent.service to /usr/lib/systemd/system/cloudera-scm-agent.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/supervisord.service to /usr/lib/systemd/system/supervisord.service.
验证中 : cloudera-manager-agent-6.2.0-968826.el7.x86_64 1/2
验证中 : cloudera-manager-daemons-6.2.0-968826.el7.x86_64 2/2

已安装:
cloudera-manager-agent.x86_64 0:6.2.0-968826.el7

失败:
cloudera-manager-daemons.x86_64 0:6.2.0-968826.el7

完毕!


还是报错
@fireapp #16 试过,报错。
#17 sudo export 好像不可以合用吧,我把 sudo 拿掉,试下
大家感兴趣可以继续讨论,需要啥,告诉我,我来贴。两条路一起走吧。应该不影响的。
@mggis0or1
jps 好用的
[SNOTEST02][root][/root]#jps
19650 Jps
7701 QuorumPeerMain
[SNOTEST02][root][/root]#
@catcalse
.bashrc
# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=

# User specific aliases and functions
正在解决依赖关系
--> 正在检查事务
---> 软件包 cloudera-manager-agent.x86_64.0.6.2.0-968826.el7 将被 安装
---> 软件包 cloudera-manager-daemons.x86_64.0.6.2.0-968826.el7 将被 安装
---> 软件包 cloudera-manager-server.x86_64.0.6.2.0-968826.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

=======================================================================================================
Package 架构 版本 源 大小
=======================================================================================================
正在安装:
cloudera-manager-agent x86_64 6.2.0-968826.el7 cloudera-manager 9.7 M
cloudera-manager-daemons x86_64 6.2.0-968826.el7 cloudera-manager 1.1 G
cloudera-manager-server x86_64 6.2.0-968826.el7 cloudera-manager 9.8 k

事务概要
=======================================================================================================
安装 3 软件包

总下载量:1.1 G
安装大小:1.4 G
Is this ok [y/d/N]: y
Downloading packages:
(1/3): cloudera-manager-agent-6.2.0-968826.el7.x86_64.rpm | 9.7 MB 00:00:07
(2/3): cloudera-manager-server-6.2.0-968826.el7.x86_64.rpm | 9.8 kB 00:00:00
(3/3): cloudera-manager-daemons-6.2.0-968826.el7.x86_64.rpm | 1.1 GB 00:03:22
-------------------------------------------------------------------------------------------------------
总计 5.6 MB/s | 1.1 GB 00:03:22
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : cloudera-manager-daemons-6.2.0-968826.e [######################### ] 1/3^ 正在安装 : cloudera-manager-daemons-6.2.0-968826.el7.x86_64 1/3
正在安装 : cloudera-manager-agent-6.2.0-968826.el7.x86_64 2/3
Created symlink from /etc/systemd/system/multi-user.target.wants/cloudera-scm-agent.service to /usr/lib/systemd/system/cloudera-scm-agent.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/supervisord.service to /usr/lib/systemd/system/supervisord.service.
正在安装 : cloudera-manager-server-6.2.0-968826.el7.x86_64 3/3
验证中 : cloudera-manager-agent-6.2.0-968826.el7.x86_64 1/3
验证中 : cloudera-manager-daemons-6.2.0-968826.el7.x86_64 2/3
验证中 : cloudera-manager-server-6.2.0-968826.el7.x86_64 3/3

已安装:
cloudera-manager-agent.x86_64 0:6.2.0-968826.el7 cloudera-manager-daemons.x86_64 0:6.2.0-968826.el7
cloudera-manager-server.x86_64 0:6.2.0-968826.el7

完毕!


这次是 root 用户安装的,成功了。貌似我开出来的普通用户有哪里没有配置好?算了,暂时觉得 root 一路走下去了。实在不能再等了。
感谢回复的各位
关于   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   3907 人在线   最高记录 5043   ·  
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.3 · 8ms · UTC 06:44 · PVG 14:44 · LAX 23:44 · JFK 02:44
♥ Do have faith in what you're doing.
沪ICP备16043287号-1