This repository was archived by the owner on May 18, 2020. It is now read-only.

Description
I'm downloading elasticsearch-oss-6.5.4.zip from maven under org/elasticsearch/distribution/zip/elasticsearch-oss. During startup 2 folders are created: elasticsearch-6.5.4 and elasticsearch-oss-6.5.4. The first contains the bins while the second just the configuration.
This depends because by two causes.
- The zip file does not contains the oss suffix so it's extracted to elasticsearch-6.5.4
- Startup leverages both on
getInstallationDirectory and getExecutableFile that make different assumptions on the version label.
The final result is that startup looks for init script on the wrong folder (elasticsearch-oss-6.5.4) instead of elasticsearch-6.5.4.