Flume
  1. Flume
  2. FLUME-1762

File Channel should recover automatically if the checkpoint is incomplete or bad by deleting the contents of the checkpoint directory

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.4.0, v1.3.1
    • Component/s: None
    • Labels:
      None
    1. FLUME-1762-3.patch
      45 kB
      Hari Shreedharan
    2. FLUME-1762-2.patch
      44 kB
      Hari Shreedharan
    3. FLUME-1762.patch
      28 kB
      Hari Shreedharan

      Issue Links

        Activity

        Hide
        Brock Noland added a comment -

        Hari, patch looks great, I am running commit tests now.

        Show
        Brock Noland added a comment - Hari, patch looks great, I am running commit tests now.
        Hide
        Brock Noland added a comment -

        Thank you Hari! Committed to trunk and 1.4!

        Show
        Brock Noland added a comment - Thank you Hari! Committed to trunk and 1.4!
        Hide
        Hudson added a comment -

        Integrated in flume-trunk #338 (See https://builds.apache.org/job/flume-trunk/338/)
        FLUME-1762: File Channel should recover automatically if the checkpoint is incomplete or bad by deleting the contents of the checkpoint directory (Revision e4ed73c14e77877b7ce8d88ef4279cb9541e3a1a)

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

        • flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/EventQueueBackingStoreFile.java
        • flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/Log.java
        • flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/EventQueueBackingStoreFileV2.java
        • flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/EventQueueBackingStoreFileV3.java
        • flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/Serialization.java
        • flume-ng-channels/flume-file-channel/src/test/java/org/apache/flume/channel/file/TestEventQueueBackingStoreFactory.java
        • flume-ng-channels/flume-file-channel/src/test/java/org/apache/flume/channel/file/TestFlumeEventQueue.java
        • flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FlumeEventQueue.java
        • flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/EventQueueBackingStoreFactory.java
        • flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/BadCheckpointException.java
        • flume-ng-channels/flume-file-channel/src/test/java/org/apache/flume/channel/file/TestFileChannelRestart.java
        Show
        Hudson added a comment - Integrated in flume-trunk #338 (See https://builds.apache.org/job/flume-trunk/338/ ) FLUME-1762 : File Channel should recover automatically if the checkpoint is incomplete or bad by deleting the contents of the checkpoint directory (Revision e4ed73c14e77877b7ce8d88ef4279cb9541e3a1a) Result = SUCCESS brock : http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=e4ed73c14e77877b7ce8d88ef4279cb9541e3a1a Files : flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/EventQueueBackingStoreFile.java flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/Log.java flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/EventQueueBackingStoreFileV2.java flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/EventQueueBackingStoreFileV3.java flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/Serialization.java flume-ng-channels/flume-file-channel/src/test/java/org/apache/flume/channel/file/TestEventQueueBackingStoreFactory.java flume-ng-channels/flume-file-channel/src/test/java/org/apache/flume/channel/file/TestFlumeEventQueue.java flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FlumeEventQueue.java flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/EventQueueBackingStoreFactory.java flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/BadCheckpointException.java flume-ng-channels/flume-file-channel/src/test/java/org/apache/flume/channel/file/TestFileChannelRestart.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development