Uploaded image for project: 'Flume (READ-ONLY)'
  1. Flume (READ-ONLY)
  2. FLUME-131

Handle source/sink/deco cancellation cleanly.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: v0.9.1
    • Fix Version/s: v0.9.3
    • Component/s: Node, Sinks+Sources
    • Labels:
      None

      Description

      Currently, sources and sinks only throw IOExceptions. When reconfiguring nodes, we may want to cancel sources/sinks that are in constant failure mode by allowing them to be interrupted. The currenty fixes related to FLUME-37 avoid but do not completely solve all the potential hangs.

      The proper way to handle this is to throws InterruptedException to all sources/sinks/decos API calls. This will allow cancelations to happen and propagate up sink chains. This will also hopefully allow us to have a cleaner locking discipline which will hopefully eliminate certain races.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jon Jonathan Hsieh
                Reporter:
                jon Jonathan Hsieh
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: