Flume
  1. Flume
  2. FLUME-797

Start scriptx shall support to pass individual options to jvm.

    Details

    • Type: Improvement Improvement
    • Status: Patch Available
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: v0.9.4
    • Fix Version/s: v0.9.5
    • Component/s: Shell
    • Labels:
      None

      Description

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

      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"
      

      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.

        Activity

          People

          • Assignee:
            Mingjie Lai
            Reporter:
            Mingjie Lai
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development