Hi,
I am trying to install the example custom realm in one of the nodes through command
bin/x-pack/extension install file:///<path>/my-realm-1.0.zip...
but keeps getting this NoSuchFileException.
Can someone pls throw some light on it.
D:\elasticsearch-5.6.10\bin\x-pack>extension install file:///D:/CustomRealmPlugin.zip
-> Downloading file:///D:/CustomRealmPlugin.zip
Exception in thread "main" java.nio.file.NoSuchFileException: D:\elasticsearch-5.6.10\plugins\x-pack\extensions\.installing-3375002382823345241\x-pack-extension-descriptor.properties
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:79)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:230)
at java.nio.file.Files.newByteChannel(Files.java:361)
at java.nio.file.Files.newByteChannel(Files.java:407)
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
at java.nio.file.Files.newInputStream(Files.java:152)
at org.elasticsearch.xpack.extensions.XPackExtensionInfo.readFromProperties(XPackExtensionInfo.java:59)
at org.elasticsearch.xpack.extensions.InstallXPackExtensionCommand.verify(InstallXPackExtensionCommand.java:163)
at org.elasticsearch.xpack.extensions.InstallXPackExtensionCommand.install(InstallXPackExtensionCommand.java:204)
at org.elasticsearch.xpack.extensions.InstallXPackExtensionCommand.execute(InstallXPackExtensionCommand.java:114)
at org.elasticsearch.xpack.extensions.InstallXPackExtensionCommand.execute(InstallXPackExtensionCommand.java:101)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:70)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:69)
at org.elasticsearch.cstemProvider.newDireli.Command.mainWithoutErrorHandling(Command.java:134)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.xpack.extensions.XPackExtensionCli.main(XPackExtensionCli.java:36)
In the zip file, I have:
1.jar file
2.x-pack-extension-descriptor.properties
Please help.
Thank you.