-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Description
When starting elasticsearch.bat from a different drive the gc logging location -Xloggc:logs/gc.log in jvm.options will yield the following warning on standard error:
Java HotSpot(TM) 64-Bit Server VM warning: Cannot open file logs/gc.log due to No such file or directory
e.g our teamcity working directory is on T: and therefore conceptually starting elasticsearch as followed:
T:\TeamCity\buildAgent\work\95d288ead8086b51> C:\Users\teamcity\AppData\Roaming\NEST\6.2.1\elasticsearch-6.2.1\bin\elasticsearch.bat
Since our (.NET team) automation bails out on standard error messages this was killing our 6.2.x NEST integration tests on CI.
This is a rather obscure bug that I am not even sure warrants fixing feel free to close @elastic/es-core-infra. Opening for future googlers (myself included) sake.