keith-turner commented on issue #954: Support passing java options via 
enviroment variable
URL: https://github.com/apache/fluo/issues/954#issuecomment-340787661
 
 
   I think one way to solve this issue is to support a `FLUO_JAVA_OPTS` env 
var.  Any java options set in this env var would be used by the fluo script 
when starting java processes.  This would allow `FLUO_JAVA_OPTS` to be set on 
the command line for docker, hopefully enabling a command like the following : 
   
   ```
   docker run -d --network="host" -e FLUO_JAVA_OPTS=-Xmx4G fluo worker -a myapp 
-o fluo.connection.zookeepers=zkhost/fluo
   ```
   
   Currently `fluo-env.sh` defines a `JAVA_OPTS` env var that is used by the 
`fluo` script.  Could modify `fluo-env.sh` to pre-pend `FLUO_JAVA_OPTS` to 
`JAVA_OPTS`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to