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/09 22:10:00 UTC

[jira] [Created] (IGNITE-15720) Examples fail to run with a remote node started from CLI

Valentin Kulichenko created IGNITE-15720:
--------------------------------------------

             Summary: Examples fail to run with a remote node started from CLI
                 Key: IGNITE-15720
                 URL: https://issues.apache.org/jira/browse/IGNITE-15720
             Project: Ignite
          Issue Type: Bug
          Components: examples
            Reporter: Valentin Kulichenko
             Fix For: 3.0.0-alpha3


To reproduce:
 # Download the pre-release build from here: [https://dist.apache.org/repos/dist/dev/ignite/3.0.0-alpha3-test/apache-ignite-3.0.0-alpha3.zip]
 # Unzip and go to the created folder.
 # Install Ignite core from staging: {{./ignite init --repo=https://repository.apache.org/content/repositories/orgapacheignite-1530}}
 # Start a node: {{./ignite node start --config=examples/config/ignite-config.json node-1}}
 # Open the {{examples}} project and run any example (e.g. {{RecordViewExample}}).
 # Example either fails with the exception below, or hangs on the table creation step.

{noformat}
Exception in thread "main" class org.apache.ignite.lang.IgniteException: Unable to start node=[node-0].
	at org.apache.ignite.internal.app.IgnitionImpl.doStart(IgnitionImpl.java:147)
	at org.apache.ignite.internal.app.IgnitionImpl.start(IgnitionImpl.java:88)
	at org.apache.ignite.IgnitionManager.start(IgnitionManager.java:79)
	at org.apache.ignite.example.table.KeyValueViewExample.main(KeyValueViewExample.java:54)
Caused by: class org.apache.ignite.lang.IgniteException: Unable to start node=[node-0].
	at org.apache.ignite.internal.app.IgniteImpl.start(IgniteImpl.java:298)
	at org.apache.ignite.internal.app.IgnitionImpl.doStart(IgnitionImpl.java:142)
	... 3 more
Caused by: java.util.concurrent.CompletionException: java.util.concurrent.TimeoutException
	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)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
	at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2152)
	at org.apache.ignite.raft.jraft.rpc.impl.RaftGroupServiceImpl.sendWithRetry(RaftGroupServiceImpl.java:487)
	at org.apache.ignite.raft.jraft.rpc.impl.RaftGroupServiceImpl$1.lambda$accept$1(RaftGroupServiceImpl.java:518)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
	at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.util.concurrent.TimeoutException
	... 7 more
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)