Yarn es snapshot --license trial Elasticsearch8.5 snapshot for starting Kibana as a developer

To create a custom plugin,
not as root

  1. I cloned the kibana git hub repo
  2. yarn kbn bootstrap ----> was successful

The next step as per the documentation, (Getting started | Kibana Guide [master] | Elastic)

  1. yarn es snapshot --license trial ---- > error
   │ info [o.e.b.Elasticsearch] [localhost3.cloud9networks.io] fatal exception while booting Elasticsearch java.nio.file.NoSuchFileException: /usr/lib/jvm/java-11-openjdk-11.0.16.0.8-1.el8_6.x86_64/lib/tools.jar
   │            at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
   │            at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
   │            at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
   │            at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
   │            at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:148)
   │            at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
   │            at java.base/java.nio.file.Files.readAttributes(Files.java:1851)
   │            at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1269)
   │            at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:709)
   │            at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:243)
   │            at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:172)
   │            at java.base/java.util.jar.JarFile.<init>(JarFile.java:347)
   │            at java.base/java.util.jar.JarFile.<init>(JarFile.java:318)
   │            at java.base/java.util.jar.JarFile.<init>(JarFile.java:257)
   │            at org.elasticsearch.base@8.5.0-SNAPSHOT/org.elasticsearch.jdk.JarHell.checkJarHell(JarHell.java:221)
   │            at org.elasticsearch.base@8.5.0-SNAPSHOT/org.elasticsearch.jdk.JarHell.checkJarHell(JarHell.java:84)
   │            at org.elasticsearch.server@8.5.0-SNAPSHOT/org.elasticsearch.bootstrap.Elasticsearch.initPhase2(Elasticsearch.java:180)
   │            at org.elasticsearch.server@8.5.0-SNAPSHOT/org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:66)
   │ERROR ERROR: Elasticsearch did not exit normally

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.