OpenSearch/distribution
William Brafford aa4d86c5e9
Remove parsed JVM settings from general settings (#49061) (#49170)
The Apache Commons Daemon has some helpful features for Java
applications, like nice little next boxes for min heap, max heap, and
thread stack size. Our elasticsearch-service.bat script parses those
values out of the ES_JAVA_OPTS environment variable and provides them to
the Apache Commons Daemon invocation command in order to provide
sensible defaults. However, we failed to remove those values from the
ES_JAVA_OPTS environment variable, which meant they ended up in the
"Java Options" text box and would, from there, override whatever the
user put in the specific boxes for heap size or thread stack size.

This commit modifies the loop that parses ES_JAVA_OPTS to construct a
new enviroment variable containing only the values that aren't parsed
out for heap size or thread stack size, then uses that new enviroment
variable in the commons daemon invocation command.
2019-11-15 11:53:28 -05:00
..
archives Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
bwc Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
docker Remove the OSS UBI builds (#49118) 2019-11-14 18:43:33 -05:00
licenses Add notice for bundled jdk (#40576) 2019-03-29 17:21:21 -04:00
packages Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
src Remove parsed JVM settings from general settings (#49061) (#49170) 2019-11-15 11:53:28 -05:00
tools Disable thirdPartyAudit tests when running in a FIPS JVM (#49115) 2019-11-14 16:44:57 -08:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00