开发者社区> 问答> 正文

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>

展开
收起
爱吃鱼的程序员 2020-06-05 15:43:59 977 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB
                        <p>从2.6到2.7.5,版本是向下兼容的,至于你这个具体的错误,需要提供更详细的信息。</p>
    
    2020-06-05 15:44:18
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
原生SQL on Hadoop引擎- Apache HAWQ 2.x最新技术解密malili 立即下载
原生SQLonHadoop引擎-Apache HAWQ2.X 立即下载
Pinterest的HBase升级实践 立即下载

相关实验场景

更多