Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-691

flume gets killed too fast when the service is asked to stop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.5.0
    • Init scripts
    • None

    Description

      The flume stop script does the following:

      kill -TERM ${FLUME_PID} &>/dev/null
      sleep 5
      kill -KILL ${FLUME_PID} &>/dev/null

      It is not recommended to kill -9 flume while it is shutting down.

      The correct approach is to poll to see if the pid is up every second or so, after sending the intitial TERM signal, then after some long period of time (60 seconds) if the pid is still alive then kill -9 would be appropriate.

      Attachments

        1. BIGTOP-691.patch.txt
          0.8 kB
          Roman Shaposhnik

        Activity

          People

            rvs Roman Shaposhnik
            rvs Roman Shaposhnik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: