[GitHub] [druid] FrankChen021 commented on issue #10078: How to use environment variables in runtime.properties?

2020-07-01 Thread GitBox
FrankChen021 commented on issue #10078: URL: https://github.com/apache/druid/issues/10078#issuecomment-652251590 I checked the `run-druid` file, putting environment variables in `jvm.config` won't take effect. But you can try the first method I mention above, that is putting

[GitHub] [druid] FrankChen021 commented on issue #10078: How to use environment variables in runtime.properties?

2020-06-29 Thread GitBox
FrankChen021 commented on issue #10078: URL: https://github.com/apache/druid/issues/10078#issuecomment-651454320 You can try to add `-Ddruid.host=$DRUID_HOST` to the java launch command line in `run-druid` shell file under `bin` directory. Or you could add that property to ` jvm.config`