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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.4.0
    • Component/s: Node
    • Labels:
      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

          Activity

            People

            • Assignee:
              hshreedharan Hari Shreedharan
              Reporter:
              hshreedharan Hari Shreedharan

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment