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

the location and name of the flume's PID file needs to be tweakable

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.4
    • Fix Version/s: 0.9.5
    • Component/s: Shell
    • Labels:
      None

      Description

      Currently it is hardcoded in flume shell script:

      MASTERPID=${FLUME_PID_DIR:="/tmp"}/flumemaster.pid
      .....

      MASTER_WATCHDOG="java ${JOPTS} -Dpid=$$ -Dpidfile=$MASTERPID $WATCHDOG_CLASS"
      MASTERI_WATCHDOG="java ${JOPTS} -Dpid=$$ -Dpidfile=$MASTERPID $WATCHDOG_CLASS"

      NODE_WATCHDOG="java ${JOPTS} Dpid=$$ -Dpidfile=${FLUME_PID_DIR}/flumenode$$.pid $WATCHDOG_CLASS"
      NODEI_WATCHDOG="java ${JOPTS} Dfwdstdin=true -Dpid=$$ -Dpidfile=${FLUME_PID_DIR}/flumenode$$.pid $WATCHDOG_CLASS"

        Attachments

        1. FLUME-766-2.patch.txt
          3 kB
          Roman Shaposhnik
        2. FLUME-766-1.patch.txt
          2 kB
          Roman Shaposhnik
        3. FLUME-766.patch.txt
          2 kB
          Roman Shaposhnik

          Activity

            People

            • Assignee:
              rvs Roman Shaposhnik
              Reporter:
              rvs Roman Shaposhnik
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: