Skip to content

Commit

Permalink
Revert "[kbn/es] use an ES_TMPDIR that is within the install path (el…
Browse files Browse the repository at this point in the history
…astic#47901)"

This reverts commit 26fc5c5.
  • Loading branch information
Tyler Smalley committed Jan 5, 2021
1 parent ccf07c5 commit 35f8f64
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/kbn-es/src/cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@ exports.Cluster = class Cluster {
this._process = execa(ES_BIN, args, {
cwd: installPath,
env: {
...(installPath ? { ES_TMPDIR: path.resolve(installPath, 'ES_TMPDIR') } : {}),
...process.env,
...(options.bundledJDK ? { JAVA_HOME: '' } : {}),
...(options.esEnvVars || {}),
Expand Down
4 changes: 0 additions & 4 deletions packages/kbn-es/src/install/archive.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ exports.installArchive = async function installArchive(archive, options = {}) {
await decompress(dest, installPath);
log.info('extracted to %s', chalk.bold(installPath));

const tmpdir = path.resolve(installPath, 'ES_TMPDIR');
fs.mkdirSync(tmpdir, { recursive: true });
log.info('created %s', chalk.bold(tmpdir));

if (license !== 'oss') {
// starting in 6.3, security is disabled by default. Since we bootstrap
// the keystore, we can enable security ourselves.
Expand Down

0 comments on commit 35f8f64

Please sign in to comment.