File tree Expand file tree Collapse file tree 4 files changed +12
-9
lines changed
jobs/elasticsearch/templates/bin Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -74,10 +74,10 @@ curator/vendor/voluptuous-0.11.5-py2.py3-none-any.whl:
74
74
size : 27677
75
75
object_id : 6889d3b8-07e8-4e17-49a0-474405676494
76
76
sha : sha256:303542b3fc07fb52ec3d7a1c614b329cdbee13a9d681935353d8ea56a7bfa9f1
77
- elasticsearch/elasticsearch-7.9.3-linux-x86_64.tar.gz :
78
- size : 306436527
79
- object_id : b2475aef-c383-4a5e-597f-669699394a8d
80
- sha : sha256:ae815dca86b0a567185f3f6d4fad047b2f8b6f38c1eee424291cc527261c1c5c
77
+ elasticsearch/elasticsearch-7.9.3-no-jdk- linux-x86_64.tar.gz :
78
+ size : 162808745
79
+ object_id : e3856ece-c8a3-4c2b-6097-53a75ee5eeca
80
+ sha : sha256:2ab0e23277e2fd9365b53af2653e6107ab46db2117390e84ba53385a96f3559f
81
81
haproxy/haproxy-1.7.5.tar.gz :
82
82
size : 1743979
83
83
object_id : 4ee72933-de11-4d3c-4657-b6b284388def
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ export LANG=en_US.UTF-8
9
9
export TMP_DIR=/var/vcap/sys/tmp/$JOB_NAME
10
10
export JOB_DIR=/var/vcap/jobs/$JOB_NAME
11
11
export LOG_DIR=/var/vcap/sys/log/$JOB_NAME
12
+ source /var/vcap/packages/openjdk-11/bosh/runtime.env
12
13
13
14
< % p(" elasticsearch.exec.environment" , {}).each do | k, v| %>
14
15
export < %= k %> =< %= v %>
@@ -19,7 +20,8 @@ export HEAP_SIZE=$((( $( cat /proc/meminfo | grep MemTotal | awk '{ print $2 }'
19
20
HEAP_SIZE=< %= heap_size %>
20
21
< % end %>
21
22
22
- export ES_JAVA_OPTS=" -Xms$HEAP_SIZE -Xmx$HEAP_SIZE -Djava.io.tmpdir=$TMP_DIR "
23
+ export ES_JAVA_OPTS=" -Xms$HEAP_SIZE -Xmx$HEAP_SIZE "
24
+ export ES_TMPDIR=" $TMP_DIR "
23
25
export ES_PATH_CONF=${JOB_DIR} /config
24
26
25
27
export MAX_OPEN_FILES=< %= p(" elasticsearch.limits.fd" ) %>
Original file line number Diff line number Diff line change 1
1
set -e
2
2
3
- tar xzf elasticsearch/elasticsearch-7.9.3-linux-x86_64.tar.gz -C $BOSH_INSTALL_TARGET --strip-components 1
4
-
5
- chown -R root:vcap "${BOSH_INSTALL_TARGET}/jdk"
3
+ tar xzf elasticsearch/elasticsearch-7.9.3-no-jdk-linux-x86_64.tar.gz -C $BOSH_INSTALL_TARGET --strip-components 1
6
4
7
5
# For log4j 2.14 or older. Remove after we update Elasticsearch to 7.16.2 or higher.
8
6
/bin/rm -f "${BOSH_INSTALL_TARGET}/bin/elasticsearch-sql-cli-7.9.3.jar"
Original file line number Diff line number Diff line change 1
1
---
2
2
name: elasticsearch
3
3
4
+ dependencies:
5
+ - openjdk-11
6
+
4
7
files:
5
- - elasticsearch/elasticsearch-7.9.3-linux-x86_64.tar.gz
8
+ - elasticsearch/elasticsearch-7.9.3-no-jdk- linux-x86_64.tar.gz
You can’t perform that action at this time.
0 commit comments