[ 
https://issues.apache.org/jira/browse/FLUME-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13945862#comment-13945862
 ] 

Hudson commented on FLUME-2347:
-------------------------------

FAILURE: Integrated in flume-trunk #629 (See 
[https://builds.apache.org/job/flume-trunk/629/])
FLUME-2347: Add FLUME_JAVA_OPTS which allows users to inject java properties 
from cmd line (jarcec: 
http://git-wip-us.apache.org/repos/asf/flume/repo/?p=flume.git&a=commit&h=09f0a513602c3b0bb2c9e19903ae6d5e052ab460)
* bin/flume-ng


> Add FLUME_JAVA_OPTS which allows users to inject java properties from cmd line
> ------------------------------------------------------------------------------
>
>                 Key: FLUME-2347
>                 URL: https://issues.apache.org/jira/browse/FLUME-2347
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>             Fix For: v1.5.0
>
>         Attachments: FLUME-2347.patch
>
>
> In order to set java properties such as -X, -D, and -javaagent we have teh 
> following:
> * flume-ng takes -X and -D as native properties
> * JAVA_OPTS can be placed in the flume-env.sh file
> However, there is no way to set properties on the command line which do not 
> start with -X or -D.
> eg.
> env JAVA_OPTS="-javaagent...." flume-ng ....
> Therefore I suggest we introduce FLUME_JAVA_OPTS which sets properties from 
> the env starting the flume-ng command. This will not impact users who use 
> JAVA_OPTs in the non-flume environment incompatibly with flume.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to