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

Spool Dir source must check interrupt flag before writing to channel

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      FLUME-2282 was likely caused by the Spool Dir Source continuing to attempt writing the channel even though the stop method was called, because it never checks the interrupt flag.

      1. FLUME-2283.patch
        1 kB
        Hari Shreedharan

        Issue Links

          Activity

          Hide
          hshreedharan Hari Shreedharan added a comment -

          Patch that handles this.

          Show
          hshreedharan Hari Shreedharan added a comment - Patch that handles this.
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit a345f611ba814c3689420edf4c2cc9b69ba3ac70 in flume's branch refs/heads/flume-1.5 from Jarek Jarcec Cecho
          [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=a345f61 ]

          FLUME-2283: Spool Dir source must check interrupt flag before writing to channel

          (Hari Shreedharan via Jarek Jarcec Cecho)

          Show
          jira-bot ASF subversion and git services added a comment - Commit a345f611ba814c3689420edf4c2cc9b69ba3ac70 in flume's branch refs/heads/flume-1.5 from Jarek Jarcec Cecho [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=a345f61 ] FLUME-2283 : Spool Dir source must check interrupt flag before writing to channel (Hari Shreedharan via Jarek Jarcec Cecho)
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 7296e1a8b98706c990c4e6aa0deda1883c422be9 in flume's branch refs/heads/trunk from Jarek Jarcec Cecho
          [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=7296e1a ]

          FLUME-2283: Spool Dir source must check interrupt flag before writing to channel

          (Hari Shreedharan via Jarek Jarcec Cecho)

          Show
          jira-bot ASF subversion and git services added a comment - Commit 7296e1a8b98706c990c4e6aa0deda1883c422be9 in flume's branch refs/heads/trunk from Jarek Jarcec Cecho [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=7296e1a ] FLUME-2283 : Spool Dir source must check interrupt flag before writing to channel (Hari Shreedharan via Jarek Jarcec Cecho)
          Hide
          jarcec Jarek Jarcec Cecho added a comment -

          Your contribution is appreciated Hari Shreedharan!

          Show
          jarcec Jarek Jarcec Cecho added a comment - Your contribution is appreciated Hari Shreedharan !
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in flume-trunk #555 (See https://builds.apache.org/job/flume-trunk/555/)
          FLUME-2283: Spool Dir source must check interrupt flag before writing to channel (jarcec: http://git-wip-us.apache.org/repos/asf/flume/repo/?p=flume.git&a=commit&h=7296e1a8b98706c990c4e6aa0deda1883c422be9)

          • flume-ng-core/src/main/java/org/apache/flume/source/SpoolDirectorySource.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in flume-trunk #555 (See https://builds.apache.org/job/flume-trunk/555/ ) FLUME-2283 : Spool Dir source must check interrupt flag before writing to channel (jarcec: http://git-wip-us.apache.org/repos/asf/flume/repo/?p=flume.git&a=commit&h=7296e1a8b98706c990c4e6aa0deda1883c422be9 ) flume-ng-core/src/main/java/org/apache/flume/source/SpoolDirectorySource.java

            People

            • Assignee:
              hshreedharan Hari Shreedharan
              Reporter:
              hshreedharan Hari Shreedharan
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development