Don't preserve OS's JAVA*_HOME vars before launching Elasticsearch #976
Labels
bug
Something's wrong
good first issue
Small, contained changes that are good for newcomers
:Usability
Makes Rally easier to use
Milestone
Description
When user specifies
--runtime-jdk=bundled
ifJAVA_HOME
is already set then it remains present and honored by Elasticsearch thus preferringJAVA_HOME
than the bundled jdk (for versions of Elasticsearch coming with a bundled jdk of course)Instead Rally should unset all JAVA*_HOME vars, specifically
JAVA_HOME
, but alsoJAVA{7,8,9,10,11,...}_HOME
as a precaution for the future too.While at it, let's also fix the weird indentation in
rally/esrally/mechanic/launcher.py
Line 192 in 635757e
rally/esrally/mechanic/launcher.py
Line 194 in 635757e
The text was updated successfully, but these errors were encountered: