OpenSearch/distribution
Jason Tedor d30c887893
Use private directory for temporary files
This change ensures that the temporary directory used for java.io.tmpdir
is a private temporary directory. To achieve this we use mktemp on macOS
and Linux to give us a private temporary directory and the value of the
environment variable TMP on Windows. For this to work with our
packaging, we add java.io.tmpdir=${ES_TMPDIR} to our packaged
jvm.options, we set ES_TMPDIR respectively in our startup scripts, and
resolve the value of the template ${ES_TMPDIR} at startup.

Relates #27609
2017-11-30 14:08:33 -05:00
..
bwc Consolidate version numbering semantics (#27397) 2017-11-23 20:21:53 +00: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 Use private directory for temporary files 2017-11-30 14:08:33 -05:00
tar Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
tools Ensure logging is configured for CLI commands 2017-11-25 11:40:08 -05: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