安装CDH6.2.1时cloudera-scm-server启动失败
安装CDH6.2.1,在使⽤systemctl start cloudera-scm-server启动,status查看时,启动失败。
查看/var/log/cloudera-scm-server 下没有⽇志
再查看服务相关的⽇志: journalctl -xe
报错为:
May 3111:12:37 hadoop102 cm-server[4564]: | site: |
May 3111:12:37 hadoop102 cm-server[4564]: | > acle/technetwork/java/javase/index.html < |
May 3111:12:37 hadoop102 cm-server[4564]: | OR |
May 3111:12:37 hadoop102 cm-server[4564]: | - a supported version of the OpenJDK from your OS vendor. Help for |
May 3111:12:37 hadoop102 cm-server[4564]: | some OSes are available at: |
exitedMay 3111:12:37 hadoop102 cm-server[4564]: | > openjdk.java/install/ < |
May 3111:12:37 hadoop102 cm-server[4564]: | |
May 3111:12:37 hadoop102 cm-server[4564]: | Cloudera Manager requires Oracle JDK or OpenJDK 1.8 or later. |
May 3111:12:37 hadoop102 cm-server[4564]: | NOTE: Cloudera Manager will find the Oracle JDK when starting, |
May 3111:12:37 hadoop102 cm-server[4564]: | regardless of whether you installed the JDK using a binary |
May 3111:12:37 hadoop102 cm-server[4564]: | installer or the RPM-based installer. |
May 3111:12:37 hadoop102 cm-server[4564]: +======================================================================+
May 3111:12:37 hadoop102 systemd[1]: cloudera-scm-server.service: main process exited, code=exited, status=1/FAILURE
May 3111:12:37 hadoop102 systemd[1]: Unit cloudera-scm-server.service entered failed state.
May 3111:12:37 hadoop102 systemd[1]: cloudera-scm-server.service failed.
May 3111:12:37 hadoop102 systemd[1]: cloudera-scm-server.service holdoff time over, scheduling restart.
May 3111:12:37 hadoop102 systemd[1]: Stopped Cloudera CM Server Service.
-- Subject: Unit cloudera-scm-server.service has finished shutting down
-- Defined-By: systemd
-- Support: /mailman/listinfo/systemd-devel
--
-- Unit cloudera-scm-server.service has finished shutting down.
May 3111:12:37 hadoop102 systemd[1]: start request repeated too quickly for cloudera-scm-server.service
May 3111:12:37 hadoop102 systemd[1]: Failed to start Cloudera CM Server Service.
-- Subject: Unit cloudera-scm-server.service has failed
-- Defined-By: systemd
-- Support: /mailman/listinfo/systemd-devel
--
-- Unit cloudera-scm-server.service has failed.
--
-- The result is failed.
May 3111:12:37 hadoop102 systemd[1]: Unit cloudera-scm-server.service entered failed state.
May 3111:12:37 hadoop102 systemd[1]: cloudera-scm-server.service failed.
May 3111:12:51 hadoop102 polkitd[752]: Registered Authentication Agent for unix-process:4602:104
6407 (system bus name :1.92 [/usr/bin/pkttyagent --not May 3111:12:51 hadoop102 polkitd[752]: Unregistered Authentication Agent for unix-process:4602:1046407 (system bus name :1.92, object path /org/freede 是因为jdk的版本不对,要下载cdh6.2.1⾃带的oracle-j2sdk1.8-1.8.0+update181-1.x86_64.rpm包。
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论