Start scriptx shall support to pass individual options to jvm.
--------------------------------------------------------------

                 Key: FLUME-797
                 URL: https://issues.apache.org/jira/browse/FLUME-797
             Project: Flume
          Issue Type: Improvement
          Components: Shell
            Reporter: Mingjie Lai
            Assignee: Mingjie Lai
             Fix For: v0.9.5


In hbase, we can pass individual options to different process in hbase-env.sh

{code}
export HBASE_MASTER_OPTS="$HBASE_JMX_BASE 
-Dcom.sun.management.jmxremote.port=10101"
export HBASE_REGIONSERVER_OPTS="$HBASE_JMX_BASE 
-Dcom.sun.management.jmxremote.port=10102"
export HBASE_THRIFT_OPTS="$HBASE_JMX_BASE 
-Dcom.sun.management.jmxremote.port=10103"
export HBASE_ZOOKEEPER_OPTS="$HBASE_JMX_BASE 
-Dcom.sun.management.jmxremote.port=10104"
{code}

It's very useful, i.e., passing ``-Xms3g -Xmx3g'' to flume node, and -Xms1g 
-Xmx1g to master. 

Right now there is only JOPTS which is shared among all node types. 

I propose to add FLUME_MASTER_JOPTS and FLUME_NODE_JOPTS to bin/flume. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to