0
点赞
收藏
分享

微信扫一扫

CDH重启mysql后,CM重启报错的处理

[root@t3-tkbdpf-cdhtest-cdh01 cloudera-scm-server]# journalctl -xe
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit cloudera-scm-server.service has begun starting up.
Oct 25 10:30:43 t3-tkbdpf-cdhtest-cdh01 systemd[1]: Started Cloudera CM Server Service.
-- Subject: Unit cloudera-scm-server.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit cloudera-scm-server.service has finished starting up.
-- 
-- The start-up result is done.
Oct 25 10:30:43 t3-tkbdpf-cdhtest-cdh01 cm-server[23837]: JAVA_HOME=/usr/java/jdk1.8.0_181
Oct 25 10:30:43 t3-tkbdpf-cdhtest-cdh01 cm-server[23837]: Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Oct 25 10:30:43 t3-tkbdpf-cdhtest-cdh01 cm-server[23837]: Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Function
Oct 25 10:30:43 t3-tkbdpf-cdhtest-cdh01 cm-server[23837]: at com.cloudera.server.cmf.Main.<clinit>(Main.java:194)
Oct 25 10:30:43 t3-tkbdpf-cdhtest-cdh01 cm-server[23837]: Caused by: java.lang.ClassNotFoundException: com.google.common.base.Function
Oct 25 10:30:43 t3-tkbdpf-cdhtest-cdh01 cm-server[23837]: at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
Oct 25 10:30:43 t3-tkbdpf-cdhtest-cdh01 cm-server[23837]: at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
Oct 25 10:30:43 t3-tkbdpf-cdhtest-cdh01 cm-server[23837]: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
Oct 25 10:30:43 t3-tkbdpf-cdhtest-cdh01 cm-server[23837]: at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Oct 25 10:30:43 t3-tkbdpf-cdhtest-cdh01 cm-server[23837]: ... 1 more
Oct 25 10:30:43 t3-tkbdpf-cdhtest-cdh01 systemd[1]: cloudera-scm-server.service: main process exited, code=exited, status=1/FAILURE
Oct 25 10:30:43 t3-tkbdpf-cdhtest-cdh01 systemd[1]: Unit cloudera-scm-server.service entered failed state.
Oct 25 10:30:43 t3-tkbdpf-cdhtest-cdh01 systemd[1]: cloudera-scm-server.service failed.
Oct 25 10:30:44 t3-tkbdpf-cdhtest-cdh01 systemd[1]: cloudera-scm-server.service holdoff time over, scheduling restart.
Oct 25 10:30:44 t3-tkbdpf-cdhtest-cdh01 systemd[1]: Stopped Cloudera CM Server Service.
-- Subject: Unit cloudera-scm-server.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit cloudera-scm-server.service has finished shutting down.
Oct 25 10:30:44 t3-tkbdpf-cdhtest-cdh01 systemd[1]: start request repeated too quickly for cloudera-scm-server.service
Oct 25 10:30:44 t3-tkbdpf-cdhtest-cdh01 systemd[1]: Failed to start Cloudera CM Server Service.
-- Subject: Unit cloudera-scm-server.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit cloudera-scm-server.service has failed.
-- 
-- The result is failed.
Oct 25 10:30:44 t3-tkbdpf-cdhtest-cdh01 systemd[1]: Unit cloudera-scm-server.service entered failed state.
Oct 25 10:30:44 t3-tkbdpf-cdhtest-cdh01 systemd[1]: cloudera-scm-server.service failed.
Oct 25 10:31:50 t3-tkbdpf-cdhtest-cdh01 polkitd[746]: Registered Authentication Agent for unix-process:24243:1840556980 (system bus name :1.165422 [/usr/bin/pkttyagent --notify-fd 5 --fallb
Oct 25 10:31:50 t3-tkbdpf-cdhtest-cdh01 systemd[1]: start request repeated too quickly for cloudera-scm-server.service
Oct 25 10:31:50 t3-tkbdpf-cdhtest-cdh01 systemd[1]: Failed to start Cloudera CM Server Service.
-- Subject: Unit cloudera-scm-server.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit cloudera-scm-server.service has failed.
-- 
-- The result is failed.
Oct 25 10:31:50 t3-tkbdpf-cdhtest-cdh01 systemd[1]: cloudera-scm-server.service failed.
Oct 25 10:31:50 t3-tkbdpf-cdhtest-cdh01 polkitd[746]: Unregistered Authentication Agent for unix-process:24243:1840556980 (system bus name :1.165422, object path /org/freedesktop/PolicyKit1
lines 2657-2710/2710 (END)

主要问题是guava的软连接丢失,导致cloudera-scm-server服务启动不成功,
查看/opt/cloudera/cm/lib中查看guava是哪个版本,排查结果是软连接丢了

解决方案是重新建立软链接,然后重启后正常

举报

相关推荐

0 条评论