Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-15720

Examples fail to run with a remote node started from CLI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 3.0.0-alpha3
    • examples

    Description

      To reproduce:

      1. 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
      2. Unzip and go to the created folder.
      3. Install Ignite core from staging: ./ignite init --repo=https://repository.apache.org/content/repositories/orgapacheignite-1530
      4. Start a node: ./ignite node start --config=examples/config/ignite-config.json node-1
      5. Open the examples project and run any example (e.g. RecordViewExample).
      6. Example either fails with the exception below, or hangs on the table creation step.
      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
      

      Attachments

        Issue Links

          Activity

            People

              vkulichenko Valentin Kulichenko
              vkulichenko Valentin Kulichenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h