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

BucketWriter#close must cancel idleFuture

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • None
    • None

    Description

      We use a ScheduledExecutorService to close the files after a time period. If the task has been submitted, the service does not cancel that task by default. In the ScheduledThreadPoolExecutor class: this field "executeExistingDelayedTasksAfterShutdown" is set to true, by default - which causes the task to be executed even if the executor was shutdown.

      If we don't cancel it, the agent does not die till idleTimeout even though every other component is stopped.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment