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

**URL:** <https://discuss.elastic.co/t/yarn-es-snapshot-license-trial-elasticsearch8-5-snapshot-for-starting-kibana-as-a-developer/313743>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [September 6, 2022, 6:29am UTC](https://discuss.elastic.co/t/yarn-es-snapshot-license-trial-elasticsearch8-5-snapshot-for-starting-kibana-as-a-developer/313743 "2022-09-06T06:29:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aurangzeb099](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aurangzeb099/32/110507_2.png) [@Aurangzeb099](https://discuss.elastic.co/u/Aurangzeb099)\
**Post date:** [September 6, 2022, 6:29am UTC](https://discuss.elastic.co/t/yarn-es-snapshot-license-trial-elasticsearch8-5-snapshot-for-starting-kibana-as-a-developer/313743/1 "2022-09-06T06:29:05Z")

</div>

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](https://www.elastic.co/guide/en/kibana/master/development-getting-started.html))

1. yarn es snapshot --license trial ---- \> error

```auto
   │ 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

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 4, 2022, 6:29am UTC](https://discuss.elastic.co/t/yarn-es-snapshot-license-trial-elasticsearch8-5-snapshot-for-starting-kibana-as-a-developer/313743/2 "2022-10-04T06:29:59Z")

</div>

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