Skip to content

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Mar 15, 2025

Backports the following commits to 9.0:

The JVM has a couple ways that Java options can be passed. In Elasticsearch we ignore these common patterns, instead using our own bespoke mechanisms for setting options (ES_JAVA_OPTS, etc). The primary reason for this is some systems like Ubuntu setting these options globally and then affecting Elasticsearch, often in ways that cause Elasticsearch to fail to start. This commit ignores _JAVA_OPTIONS, which is a little known environment variable that the JVM may pick up options from.
@rjernst rjernst requested a review from a team as a code owner March 15, 2025 14:55
@rjernst rjernst added :Core/Infra/CLI CLI utilities, scripts, and infrastructure >enhancement auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Core/Infra Meta label for core/infra team labels Mar 15, 2025
@elasticsearchmachine elasticsearchmachine merged commit 9da7f0b into elastic:9.0 Mar 15, 2025
15 of 16 checks passed
@rjernst rjernst deleted the backport/9.0/pr-124843 branch March 15, 2025 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Core/Infra/CLI CLI utilities, scripts, and infrastructure >enhancement Team:Core/Infra Meta label for core/infra team v9.0.1

2 participants