Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-797

Start scriptx shall support to pass individual options to jvm.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.9.4
    • 0.9.5
    • Shell
    • 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.

      Attachments

        1. Flume-797-trunk.patch
          2 kB
          Mingjie Lai

        Activity

          People

            mingjielai Mingjie Lai
            mingjielai Mingjie Lai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: