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

FileChannel Log Background worker should catch Throwable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0, 1.3.1
    • Component/s: None
    • Labels:
      None

      Description

      In FLUME-1773 moved the background worker to a scheduled executor. The only issue is that if we throw an Error the scheduled executor will catch and not log that.

      1. FLUME-1775.patch
        0.7 kB
        Hari Shreedharan

        Issue Links

          Activity

          Hide
          hshreedharan Hari Shreedharan added a comment -

          Trivial patch, skipping RB

          Show
          hshreedharan Hari Shreedharan added a comment - Trivial patch, skipping RB
          Hide
          brocknoland Brock Noland added a comment -

          Thanks Hari! COmmitted to trunk and 1.4!

          Show
          brocknoland Brock Noland added a comment - Thanks Hari! COmmitted to trunk and 1.4!
          Hide
          hudson Hudson added a comment -

          Integrated in flume-trunk #339 (See https://builds.apache.org/job/flume-trunk/339/)
          FLUME-1775: FileChannel Log Background worker should catch Throwable (Revision 52ac64d4d6a43b79d30d2215dab2fc4bae26e665)

          Result = SUCCESS
          brock : http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=52ac64d4d6a43b79d30d2215dab2fc4bae26e665
          Files :

          • flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/Log.java
          Show
          hudson Hudson added a comment - Integrated in flume-trunk #339 (See https://builds.apache.org/job/flume-trunk/339/ ) FLUME-1775 : FileChannel Log Background worker should catch Throwable (Revision 52ac64d4d6a43b79d30d2215dab2fc4bae26e665) Result = SUCCESS brock : http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=52ac64d4d6a43b79d30d2215dab2fc4bae26e665 Files : flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/Log.java

            People

            • Assignee:
              hshreedharan Hari Shreedharan
              Reporter:
              brocknoland Brock Noland
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development