Bigtop
  1. Bigtop
  2. BIGTOP-566

Flume NG pkg init script should allow user to customize the location of the conf dir

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.4.0
    • Fix Version/s: None
    • Component/s: General
    • Labels:
      None
    • Environment:

      all

      Description

      A typical Flume NG invocation is:
      bin/flume-ng --conf-file conf/flume-conf.properties.template --conf conf --name agent1

      ...and the corresponding invocation after installing the Flume NG bigtop package would be:
      /usr/lib/flume-ng/bin/flume-ng --conf-file /etc/flume-ng/conf/flume.conf --conf /etc/flume-ng/conf --name agent

      The Flume NG init script, installed as part of Bigtop Flume NG, allows us to modify:
      1) the --conf-file value (via FLUME_CONF_FILE)
      2) the --name value (via FLUME_AGENT_NAME)

      ...but not the --conf value. So the user loses some flexibility when using Bigtop Flume NG over Apache Flume NG.

      I recommend that the /etc/init.d/flume-ng-agent script be modified to allow the user to set FLUME_CONF_DIR. That is, in this init script, please change this:
      FLUME_CONF_DIR=/etc/flume-ng/conf
      ..to this:
      FLUME_CONF_DIR=$

      {FLUME_CONF_DIR:-/etc/flume-ng/conf}
      1. BIGTOP-566.patch
        0.7 kB
        Will McQueen
      2. BIGTOP-566.patch
        0.7 kB
        Will McQueen

        Activity

        Roman Shaposhnik made changes -
        Fix Version/s 0.6.0 [ 12323895 ]
        Roman Shaposhnik made changes -
        Fix Version/s 0.6.0 [ 12323895 ]
        Fix Version/s 0.5.0 [ 12321865 ]
        Roman Shaposhnik made changes -
        Fix Version/s 0.5.0 [ 12321865 ]
        Fix Version/s 0.4.0 [ 12318889 ]
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12664722 ] patch-available, re-open possible [ 12666131 ]
        Will McQueen made changes -
        Attachment BIGTOP-566.patch [ 12524933 ]
        Will McQueen made changes -
        Field Original Value New Value
        Attachment BIGTOP-566.patch [ 12524930 ]
        Will McQueen created issue -

          People

          • Assignee:
            Bruno Mahé
            Reporter:
            Will McQueen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development