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 
`-Ddruid.host=$DRUID_HOST` in [`run-druid`] 
(https://github.com/apache/druid/blob/d3497a6581c69f810090f5180f1f18328b06c781/examples/bin/run-druid#L45)
 as below
   
   ````
   exec "$JAVA_BIN"/java -Ddruid.host=$DRUID_HOST ...
   ````


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to