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

Lifecycle supervisor should check if the monitor service is still running before supervising

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.4.0
    • Node
    • None

    Description

      Lifecycle supervisor not checking if the executor service is running before supervising can cause RejectedExecutionException, if supervise gets called after the shutdown hook already killed the executor service. It is harmless, but an exception gets dumped to the log.

      Also it would be good to call shutdownNow on the monitor service if it hasn't terminated in a fixed time, say 10s.

      Attachments

        1. FLUME-1296-2.patch
          3 kB
          Hari Shreedharan

        Issue Links

          Activity

            People

              hshreedharan Hari Shreedharan
              hshreedharan Hari Shreedharan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: