[
https://issues.apache.org/jira/browse/IGNITE-20648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aleksandr updated IGNITE-20648:
-------------------------------
Description:
To reproduce the issue:
1) build packages with 11 java
2) start node with 21 java
3) init cluster
The error:
{code:java}
023-10-13 14:41:48:887 +0400
[WARNING][%defaultNode%JRaft-Request-Processor-7][JRaftUtils] Uncaught
exception [thread=Thread[#195,%defaultNode%JRaft-R
equest-Processor-7,5,main]]
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.ignite.internal.util.GridUnsafe
at
org.apache.ignite.internal.network.direct.stream.DirectByteBufferStreamImplV1.setBuffer(DirectByteBufferStreamImplV1.java:201)
at
org.apache.ignite.internal.raft.util.OptimizedMarshaller.marshall(OptimizedMarshaller.java:94)
at
org.apache.ignite.internal.raft.util.ThreadLocalOptimizedMarshaller.marshall(ThreadLocalOptimizedMarshaller.java:42)
at
org.apache.ignite.raft.jraft.rpc.impl.ActionRequestProcessor.applyWrite(ActionRequestProcessor.java:122)
at
org.apache.ignite.raft.jraft.rpc.impl.ActionRequestProcessor.handleRequest(ActionRequestProcessor.java:92)
at
org.apache.ignite.raft.jraft.rpc.impl.InterceptingActionRequestProcessor.handleRequest(InterceptingActionRequestProcessor.java:48)
at
org.apache.ignite.raft.jraft.rpc.impl.InterceptingActionRequestProcessor.handleRequest(InterceptingActionRequestProcessor.java:31)
at
org.apache.ignite.raft.jraft.rpc.impl.IgniteRpcServer$RpcMessageHandler.lambda$onReceived$0(IgniteRpcServer.java:194)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.ExceptionInInitializerError: Exception
java.lang.RuntimeException: Unable to set up byte buffer creation using
reflections :java.n
io.DirectByteBuffer.<init>(long,int) [in thread
"%defaultNode%JRaft-Request-Processor-1"]
at
org.apache.ignite.internal.util.GridUnsafe.createNewDirectBufferCtor(GridUnsafe.java:1750)
at
org.apache.ignite.internal.util.GridUnsafe.createAndTestNewDirectBufferCtor(GridUnsafe.java:1704)
at
org.apache.ignite.internal.util.GridUnsafe.<clinit>(GridUnsafe.java:164)
... 11 more
{code}
It looks like the same issue from AI2 IGNITE-19652
was:
To reproduce the issue:
1) build packages with 11 java
2) start node with 21 java
3) init cluster
The error:
{{023-10-13 14:41:48:887 +0400
[WARNING][%defaultNode%JRaft-Request-Processor-7][JRaftUtils] Uncaught
exception [thread=Thread[#195,%defaultNode%JRaft-R
equest-Processor-7,5,main]]
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.ignite.internal.util.GridUnsafe
at
org.apache.ignite.internal.network.direct.stream.DirectByteBufferStreamImplV1.setBuffer(DirectByteBufferStreamImplV1.java:201)
at
org.apache.ignite.internal.raft.util.OptimizedMarshaller.marshall(OptimizedMarshaller.java:94)
at
org.apache.ignite.internal.raft.util.ThreadLocalOptimizedMarshaller.marshall(ThreadLocalOptimizedMarshaller.java:42)
at
org.apache.ignite.raft.jraft.rpc.impl.ActionRequestProcessor.applyWrite(ActionRequestProcessor.java:122)
at
org.apache.ignite.raft.jraft.rpc.impl.ActionRequestProcessor.handleRequest(ActionRequestProcessor.java:92)
at
org.apache.ignite.raft.jraft.rpc.impl.InterceptingActionRequestProcessor.handleRequest(InterceptingActionRequestProcessor.java:48)
at
org.apache.ignite.raft.jraft.rpc.impl.InterceptingActionRequestProcessor.handleRequest(InterceptingActionRequestProcessor.java:31)
at
org.apache.ignite.raft.jraft.rpc.impl.IgniteRpcServer$RpcMessageHandler.lambda$onReceived$0(IgniteRpcServer.java:194)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.ExceptionInInitializerError: Exception
java.lang.RuntimeException: Unable to set up byte buffer creation using
reflections :java.n
io.DirectByteBuffer.<init>(long,int) [in thread
"%defaultNode%JRaft-Request-Processor-1"]
at
org.apache.ignite.internal.util.GridUnsafe.createNewDirectBufferCtor(GridUnsafe.java:1750)
at
org.apache.ignite.internal.util.GridUnsafe.createAndTestNewDirectBufferCtor(GridUnsafe.java:1704)
at
org.apache.ignite.internal.util.GridUnsafe.<clinit>(GridUnsafe.java:164)
... 11 more}}
It looks like the same issue from AI2 IGNITE-19652
> Can not init cluster with 21 java
> ---------------------------------
>
> Key: IGNITE-20648
> URL: https://issues.apache.org/jira/browse/IGNITE-20648
> Project: Ignite
> Issue Type: Bug
> Components: networking
> Reporter: Aleksandr
> Priority: Major
> Labels: ignite-3
>
> To reproduce the issue:
> 1) build packages with 11 java
> 2) start node with 21 java
> 3) init cluster
> The error:
> {code:java}
> 023-10-13 14:41:48:887 +0400
> [WARNING][%defaultNode%JRaft-Request-Processor-7][JRaftUtils] Uncaught
> exception [thread=Thread[#195,%defaultNode%JRaft-R
> equest-Processor-7,5,main]]
> java.lang.NoClassDefFoundError: Could not initialize class
> org.apache.ignite.internal.util.GridUnsafe
> at
> org.apache.ignite.internal.network.direct.stream.DirectByteBufferStreamImplV1.setBuffer(DirectByteBufferStreamImplV1.java:201)
> at
> org.apache.ignite.internal.raft.util.OptimizedMarshaller.marshall(OptimizedMarshaller.java:94)
> at
> org.apache.ignite.internal.raft.util.ThreadLocalOptimizedMarshaller.marshall(ThreadLocalOptimizedMarshaller.java:42)
> at
> org.apache.ignite.raft.jraft.rpc.impl.ActionRequestProcessor.applyWrite(ActionRequestProcessor.java:122)
> at
> org.apache.ignite.raft.jraft.rpc.impl.ActionRequestProcessor.handleRequest(ActionRequestProcessor.java:92)
> at
> org.apache.ignite.raft.jraft.rpc.impl.InterceptingActionRequestProcessor.handleRequest(InterceptingActionRequestProcessor.java:48)
> at
> org.apache.ignite.raft.jraft.rpc.impl.InterceptingActionRequestProcessor.handleRequest(InterceptingActionRequestProcessor.java:31)
> at
> org.apache.ignite.raft.jraft.rpc.impl.IgniteRpcServer$RpcMessageHandler.lambda$onReceived$0(IgniteRpcServer.java:194)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
> at java.base/java.lang.Thread.run(Thread.java:1583)
> Caused by: java.lang.ExceptionInInitializerError: Exception
> java.lang.RuntimeException: Unable to set up byte buffer creation using
> reflections :java.n
> io.DirectByteBuffer.<init>(long,int) [in thread
> "%defaultNode%JRaft-Request-Processor-1"]
> at
> org.apache.ignite.internal.util.GridUnsafe.createNewDirectBufferCtor(GridUnsafe.java:1750)
> at
> org.apache.ignite.internal.util.GridUnsafe.createAndTestNewDirectBufferCtor(GridUnsafe.java:1704)
> at
> org.apache.ignite.internal.util.GridUnsafe.<clinit>(GridUnsafe.java:164)
> ... 11 more
> {code}
> It looks like the same issue from AI2 IGNITE-19652
--
This message was sent by Atlassian Jira
(v8.20.10#820010)