Flume
  1. Flume
  2. FLUME-1603

FileChannel capacity reached message is unclear

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.3.0
    • Component/s: Channel
    • Labels:
      None

      Description

      We should specifically state that the channel capacity has been reached and possible actions to take:

      Caused by: org.apache.flume.ChannelException: Cannot acquire capacity. [channel=fileChannel]

      1. FLUME-1603-0.patch
        1 kB
        Ted Malaska
      2. FLUME-1603-1.patch
        4 kB
        Ted Malaska

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          2d 22h 37m 1 Brock Noland 24/Sep/12 22:06
          Hide
          Hudson added a comment -

          Integrated in flume-trunk #309 (See https://builds.apache.org/job/flume-trunk/309/)
          FLUME-1603: FileChannel capacity reached message is unclear (Revision ddb789a459b2143331acd2b89f4606af5312069d)

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

          • flume-ng-channels/flume-file-channel/src/test/java/org/apache/flume/channel/file/TestFileChannel.java
          • flume-ng-channels/flume-file-channel/src/test/java/org/apache/flume/channel/file/TestUtils.java
          • flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FileChannel.java
          Show
          Hudson added a comment - Integrated in flume-trunk #309 (See https://builds.apache.org/job/flume-trunk/309/ ) FLUME-1603 : FileChannel capacity reached message is unclear (Revision ddb789a459b2143331acd2b89f4606af5312069d) Result = SUCCESS brock : http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=ddb789a459b2143331acd2b89f4606af5312069d Files : flume-ng-channels/flume-file-channel/src/test/java/org/apache/flume/channel/file/TestFileChannel.java flume-ng-channels/flume-file-channel/src/test/java/org/apache/flume/channel/file/TestUtils.java flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FileChannel.java
          Brock Noland made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Brock Noland [ brocknoland ] Ted Malaska [ ted.m ]
          Fix Version/s v1.3.0 [ 12322140 ]
          Resolution Fixed [ 1 ]
          Hide
          Brock Noland added a comment -

          Committed here

          https://git-wip-us.apache.org/repos/asf?p=flume.git;a=commit;h=ddb789a4

          Thank you for your contribution!

          Show
          Brock Noland added a comment - Committed here https://git-wip-us.apache.org/repos/asf?p=flume.git;a=commit;h=ddb789a4 Thank you for your contribution!
          Ted Malaska made changes -
          Attachment FLUME-1603-1.patch [ 12546370 ]
          Hide
          Ted Malaska added a comment -

          Fixed TestFileChannel

          Show
          Ted Malaska added a comment - Fixed TestFileChannel
          Ted Malaska made changes -
          Remote Link This issue links to "review board (Web Link)" [ 11153 ]
          Ted Malaska made changes -
          Field Original Value New Value
          Attachment FLUME-1603-0.patch [ 12546350 ]
          Hide
          Ted Malaska added a comment -

          Updated old exception message to match that of Brock Noland.

          Show
          Ted Malaska added a comment - Updated old exception message to match that of Brock Noland.
          Hide
          Brock Noland added a comment -

          Good error message: "The channel has reached it's capacity. This might be the result of a sink on the channel having too low of batch size, a downstream system running slower than normal, or that the channel capacity is just too low."

          Show
          Brock Noland added a comment - Good error message: "The channel has reached it's capacity. This might be the result of a sink on the channel having too low of batch size, a downstream system running slower than normal, or that the channel capacity is just too low."
          Brock Noland created issue -

            People

            • Assignee:
              Ted Malaska
              Reporter:
              Brock Noland
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development