You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Valentin Kulichenko (Jira)" <ji...@apache.org> on 2021/10/12 05:19:00 UTC
[jira] [Created] (IGNITE-15729) RecordViewExample fails with two
remote nodes
Valentin Kulichenko created IGNITE-15729:
--------------------------------------------
Summary: RecordViewExample fails with two remote nodes
Key: IGNITE-15729
URL: https://issues.apache.org/jira/browse/IGNITE-15729
Project: Ignite
Issue Type: Bug
Components: examples
Affects Versions: 3.0.0-alpha3
Reporter: Valentin Kulichenko
Fix For: 3.0.0-alpha4
To reproduce:
# Start *two* nodes using the CLI tool.
# Run the {{RecordViewExample}} (need to check other examples as well).
# Observe the exception shown below.
{noformat}
Exception in thread "main" java.util.concurrent.CompletionException: class org.apache.ignite.client.IgniteClientException: class org.apache.ignite.client.IgniteClientException: class org.apache.ignite.raft.jraft.rpc.impl.RaftException: ENOENT:No nodes in group 1-40f121ca-81e4-4929-8ad3-24f5742c81af_part_6
at java.base/java.util.concurrent.CompletableFuture.encodeRelay(CompletableFuture.java:367)
at java.base/java.util.concurrent.CompletableFuture.completeRelay(CompletableFuture.java:376)
at java.base/java.util.concurrent.CompletableFuture$UniRelay.tryFire(CompletableFuture.java:1019)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)
at org.apache.ignite.internal.client.ReliableChannel.lambda$handleServiceAsync$3(ReliableChannel.java:213)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:930)
at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:907)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)
at org.apache.ignite.internal.client.TcpClientChannel.processNextMessage(TcpClientChannel.java:260)
at org.apache.ignite.internal.client.TcpClientChannel.onMessage(TcpClientChannel.java:109)
at org.apache.ignite.internal.client.io.netty.NettyClientConnection.onMessage(NettyClientConnection.java:85)
at org.apache.ignite.internal.client.io.netty.NettyClientMessageHandler.channelRead(NettyClientMessageHandler.java:33)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: class org.apache.ignite.client.IgniteClientException: class org.apache.ignite.client.IgniteClientException: class org.apache.ignite.raft.jraft.rpc.impl.RaftException: ENOENT:No nodes in group 1-40f121ca-81e4-4929-8ad3-24f5742c81af_part_6
at org.apache.ignite.internal.client.ReliableChannel.lambda$handleServiceAsync$3(ReliableChannel.java:215)
... 29 more
Caused by: java.util.concurrent.CompletionException: class org.apache.ignite.client.IgniteClientException: class org.apache.ignite.raft.jraft.rpc.impl.RaftException: ENOENT:No nodes in group 1-40f121ca-81e4-4929-8ad3-24f5742c81af_part_6
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:632)
... 27 more
Caused by: class org.apache.ignite.client.IgniteClientException: class org.apache.ignite.raft.jraft.rpc.impl.RaftException: ENOENT:No nodes in group 1-40f121ca-81e4-4929-8ad3-24f5742c81af_part_6
at org.apache.ignite.internal.client.TcpClientChannel.processNextMessage(TcpClientChannel.java:259)
... 24 more {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)