ignite从2.6.0升级到2.7.5有报错
@李玉珏 你好,想跟你请教个问题:
之前我用的ignite2.6.0版本,用静态路由方式集群,服务内嵌到tomcat中启动没有问题,现在升级为2.7.5版本,启动tomcat报错:错误信息如下:
ERROR | Blocked system-critical thread has been detected. This can lead to cluster-wide undefined behaviour [threadName=partition-exchanger, blockedFor=12s]
WARN | Thread [name="exchange-worker-#43%igniteStart%", id=72, state=TIMED_WAITING, blockCnt=2, waitCnt=9]
Lock [object=java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@182bd337, ownerName=null, ownerId=-1]
ERROR | Critical system error detected. Will be handled accordingly to configured handler [hnd=StopNodeOrHaltFailureHandler [tryStop=false, timeout=0, super=AbstractFailureHandler [ignoredFailureTypes=[SYSTEM_WORKER_BLOCKED, SYSTEM_CRITICAL_OPERATION_TIMEOUT]]], failureCtx=FailureContext [type=SYSTEM_WORKER_BLOCKED, err=class o.a.i.IgniteException: GridWorker [name=partition-exchanger, igniteInstanceName=igniteStart, finished=false, heartbeatTs=1562204878904]]]
class org.apache.ignite.IgniteException: GridWorker [name=partition-exchanger, igniteInstanceName=igniteStart, finished=false, heartbeatTs=1562204878904]
at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance$2.apply(IgnitionEx.java:1831)
at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance$2.apply(IgnitionEx.java:1826)
at org.apache.ignite.internal.worker.WorkersRegistry.onIdle(WorkersRegistry.java:233)
at org.apache.ignite.internal.util.worker.GridWorker.onIdle(GridWorker.java:297)
at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.lambda$new$0(ServerImpl.java:2663)
at org.apache.ignite.spi.discovery.tcp.ServerImpl$MessageWorker.body(ServerImpl.java:7181)
at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.body(ServerImpl.java:2700)
at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
at org.apache.ignite.spi.discovery.tcp.ServerImpl$MessageWorkerThread.body(ServerImpl.java:7119)
at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62)
WARN | No deadlocked threads detected.
WARN | Thread dump at 2019/07/04 09:48:11 CST
Thread [name="sys-#53%igniteStart%", id=272, state=TIMED_WAITING, blockCnt=0, waitCnt=2]
Lock [object=java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@2d89a5d4, ownerName=null, ownerId=-1]
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
===================================================================
下面是配置信息:
<bean id="igniteConfig" class="org.apache.ignite.configuration.IgniteConfiguration">
<!-- 配置为客户端节点(必须,否则默认为server) -->
<!-- <property name="clientMode" value="true" /> -->
<!-- 配置客户端节点名称 -->
<property name="igniteInstanceName" value="igniteStart" />
<!-- 客户端关闭metrics日志打印(value类型long 设置60*1000L即为1分钟刷新一次metrics日志,设置为0即关闭) -->
<property name="metricsLogFrequency" value="0" />
<!-- server重启时客户端自动重连(value时间内服务端若重启客户端会自动重连) -->
<property name="networkTimeout" value="1000000" />
<property name="peerClassLoadingEnabled" value="true" />
<!-- 配置集群ip(静态) -->
<property name="discoverySpi" ref="discoverySpi" />
</bean>
<bean id="discoverySpi" class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
<property name="ipFinder">
<bean
class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
<property name="addresses">
<list>
<value>127.0.0.1:${ignitePort}</value>
<value>${backIp}:${ignitePort}</value>
</list>
</property>
</bean>
</property>
</bean>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从2.6到2.7.5,版本是向下兼容的,至于你这个具体的错误,需要提供更详细的信息。