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

Remove shutdown hook from FileChannel

    XMLWordPrintableJSON

Details

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

    Description

      The FileChannel currently uses a shutdown hook in order to close the channel. However, the NodeManager already has a shutdown hook which will call close() on the channel. Not only is the shutdown hook superfluous, but it unregisters itself on stop(), which is not allowed if stop() is called from inside a shutdown hook.

      Attachments

        1. FLUME-1323-1.patch
          4 kB
          Mike Percy
        2. FLUME-1323-2.patch
          4 kB
          Mike Percy

        Issue Links

          Activity

            People

              mpercy Mike Percy
              mpercy Mike Percy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: