APPARENT DEADLOCK Creating emergency threads for unassigned pending tasks

本文记录了一次Cloudera SCM Server启动失败的故障排查经历,重点介绍了因网络连接问题导致的APPARENTDEADLOCK异常,并分享了解决方案。

项目场景:

在迁移CDH集群的元数据库后,重新启动集群,发现启动失败。

APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!


问题描述

在启动cloudera-scm-server 时,日志如下

2022-08-25 17:24:22,222 INFO main:com.cloudera.server.cmf.Main: ================================================================================
2022-08-25 17:24:22,230 INFO main:com.cloudera.server.cmf.Main: Starting SCM Server. JVM Args: [-Dlog4j.configuration=file:/etc/cloudera-scm-server/log4j.properties, -Dfile.encoding=UTF-8, -Dcmf.root.logger=INFO,LOGFILE, -Dcmf.log.dir=/var/log/cloudera-scm-server, -Dcmf.log.file=cloudera-scm-server.log, -Dcmf.jetty.threshhold=WARN, -Dcmf.schema.dir=/opt/cloudera/cm/schema, -Djava.awt.headless=true, -Djava.net.preferIPv4Stack=true, -Dpython.home=/opt/cloudera/cm/python, -XX:+UseConcMarkSweepGC, -XX:+UseParNewGC, -XX:+HeapDumpOnOutOfMemoryError, -Xmx2G, -XX:MaxPermSize=256m, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=/tmp, -XX:OnOutOfMemoryError=kill -9 %p], Args: [], Version: 6.2.1 (#1426065 built by jenkins on 20190911-0956 git: 94625ae139b266e8cdad073d744766545f7f0472)
2022-08-25 17:24:22,373 INFO main:org.springframework.context.support.ClassPathXmlApplicationContext: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@11758f2a: startup date [Thu Aug 25 17:24:22 CST 2022]; root of context hierarchy
2022-08-25 17:24:22,432 INFO main:org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [webapp/WEB-INF/spring/beanRefFactory.xml]
2022-08-25 17:24:22,808 INFO main:org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@671a5887: startup date [Thu Aug 25 17:24:22 CST 2022]; root of context hierarchy
2022-08-25 17:24:22,880 INFO main:com.cloudera.enterprise.CommonMain: Reading database properties from /etc/cloudera-scm-server/db.properties
2022-08-25 17:24:22
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值