mikewalch closed pull request #966: fluo-env.sh now supports FLUO_JAVA_OPTS set 
in environment
URL: https://github.com/apache/fluo/pull/966
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/modules/distribution/src/main/config/fluo-env.sh 
b/modules/distribution/src/main/config/fluo-env.sh
index e027f141..f51fb9eb 100755
--- a/modules/distribution/src/main/config/fluo-env.sh
+++ b/modules/distribution/src/main/config/fluo-env.sh
@@ -34,8 +34,10 @@ export 
FLUO_CONN_PROPS="${FLUO_CONN_PROPS:-${conf}/fluo-conn.properties}"
 
 ## Fluo log4j configuration
 export FLUO_LOG4J_CONFIG="${FLUO_LOG4J_CONFIG:-${conf}/log4j.properties}"
-## Java options for Fluo command
-JAVA_OPTS=("-Dlog4j.configuration=file:${FLUO_LOG4J_CONFIG}")
+## Java options along with FLUO_JAVA_OPTS for Fluo command
+JAVA_OPTS=("${FLUO_JAVA_OPTS[@]}" 
"-Dlog4j.configuration=file:${FLUO_LOG4J_CONFIG}")
+
+
 export 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