OpenSearch/distribution
Jason Tedor d8bb413b1b Configure heap dump path out of the box
The JVM defaults to dumping the heap to the working directory of
Elasticsearch. For the RPM and Debian packages, this location is
/usr/share/elasticsearch. This directory is not writable by the
elasticsearch user, so by default heap dumps in this situation are
lost. This commit modifies the packaging for the RPM and Debian packages
to set the heap dump path to /var/lib/elasticsearch as the default
location for dumping the heap. This location is writable by the
elasticsearch user by default. We add documentation of this important
setting if /var/lib/elasticsearch is not suitable for receiving heap
dumps.

Relates #26755
2017-09-22 14:22:03 -04:00
..
bwc Build: Set bwc builds to always set snapshot (#26704) 2017-09-19 17:41:51 -07:00
deb Rename CONF_DIR to ES_PATH_CONF 2017-08-15 06:19:06 +09:00
integ-test-zip Revert shading for the low level rest client (#26367) 2017-08-25 14:13:12 -05:00
rpm Rename CONF_DIR to ES_PATH_CONF 2017-08-15 06:19:06 +09:00
src/main Configure heap dump path out of the box 2017-09-22 14:22:03 -04:00
tar Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
tools Plugins: Add backcompat for sha1 checksums (#26748) 2017-09-22 11:26:32 +02:00
zip Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
build.gradle Configure heap dump path out of the box 2017-09-22 14:22:03 -04:00