OpenSearch/distribution
Andrey Ershov d35d9d1886 cd ES_HOME in elasticsearch-env (#39937)
This commit adds cd $ES_HOME to elasticsearch-env and removes it from
elasticsearch. This way, both elasticsearch and elasticsearch-cli are
executed with the working directory set to $ES_HOME. The need for the
fix arose from the following bug:
1. Explicitly set path.data to relative to ES_HOME path in
elasticsearch.yml.
2. Run elasticsearch from any directory. Elasticsearch is able to
correctly start.
3. Stop elasticsearch.
4. Run elasticsearch-node unsafe-bootstrap, not from ES_HOME directory.
It will fail with an exception.
This commit fixes the issue and adds a new test.

This PR fixes the issue and adds a new test.
Also tests >=100 are renamed because alphabetic order does not work for
them.

(cherry picked from commit 2ffc29306ff7366efc598e7b4dd2ce528895cd3a
with fixes by #40083 and #40118)
2019-03-18 16:26:27 +01:00
..
archives Add no-jdk distributions (#39882) 2019-03-15 00:55:57 -07:00
bwc Fix verify versions (#39624) 2019-03-07 17:40:25 +02:00
docker Add Docker build type (#39378) 2019-03-05 22:03:15 -05:00
packages Add no-jdk distributions (#39882) 2019-03-15 00:55:57 -07:00
src cd ES_HOME in elasticsearch-env (#39937) 2019-03-18 16:26:27 +01:00
tools Upgrade the bouncycastle dependency to 1.61 (#40017) 2019-03-14 08:54:47 -04:00
build.gradle Give jspawnhelper execute permissions in bundled JDK (#39787) 2019-03-08 11:05:13 -08:00