Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Docs Required, Release Notes Required
Description
- Run ignite init
- Delete ignite-bin and ignite-work folders
- Run ignite node start n1
These steps result in the following exception:
Exception in thread "main" java.lang.RuntimeException: java.nio.file.NoSuchFileException: /Users/vkulichenko/GridGain/cli-demo/ignite-bin/2.9.0/cli at org.apache.ignite.internal.v2.builtins.SystemPathResolver.list(SystemPathResolver.java:39) at org.apache.ignite.internal.v2.spec.IgniteCliSpec.loadSubcommands(IgniteCliSpec.java:81) at org.apache.ignite.internal.v2.spec.IgniteCliSpec.lambda$main$0(IgniteCliSpec.java:64) at java.base/java.util.Optional.ifPresent(Optional.java:176) at org.apache.ignite.internal.v2.spec.IgniteCliSpec.main(IgniteCliSpec.java:64) Caused by: java.nio.file.NoSuchFileException: /Users/vkulichenko/GridGain/cli-demo/ignite-bin/2.9.0/cli at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116) at java.base/sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.java:412) at java.base/java.nio.file.Files.newDirectoryStream(Files.java:476) at java.base/java.nio.file.Files.list(Files.java:3765) at org.apache.ignite.internal.v2.builtins.SystemPathResolver.list(SystemPathResolver.java:28) ... 4 more
ignite init fails with the same exception as well, so the only way to fix this is to manually delete the .ignitecfg file, which the user is not aware of.
We should have the support for re-initialization, and suggest to do that in case the described scenario occurs.
Attachments
Issue Links
- links to