Flume
  1. Flume
  2. FLUME-1304

Allow for faster allocation of checkpoint file.

    Details

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

      Description

      The file channel initializes the checkpoint file in a loop to fill capacity. On a dev machine, this loop takes 20 seconds to allocate a 1M capacity channel. We should try to optimize it further.

      1. FLUME-1304-1.patch
        1 kB
        Arvind Prabhakar
      2. FLUME-1304-2.patch
        2 kB
        Arvind Prabhakar

        Issue Links

          Activity

          Hide
          Hudson added a comment -

          Integrated in flume-trunk #257 (See https://builds.apache.org/job/flume-trunk/257/)
          FLUME-1304. Allow for faster allocation of checkpoint file.

          (Arvind Prabhakar via Mike Percy) (Revision 1353841)

          Result = UNSTABLE
          mpercy : http://svn.apache.org/viewvc/?view=rev&rev=1353841
          Files :

          • /incubator/flume/trunk/flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FlumeEventQueue.java
          Show
          Hudson added a comment - Integrated in flume-trunk #257 (See https://builds.apache.org/job/flume-trunk/257/ ) FLUME-1304 . Allow for faster allocation of checkpoint file. (Arvind Prabhakar via Mike Percy) (Revision 1353841) Result = UNSTABLE mpercy : http://svn.apache.org/viewvc/?view=rev&rev=1353841 Files : /incubator/flume/trunk/flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FlumeEventQueue.java
          Mike Percy made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Mike Percy added a comment -

          Patch committed. Thanks Arvind!

          Show
          Mike Percy added a comment - Patch committed. Thanks Arvind!
          Arvind Prabhakar made changes -
          Attachment FLUME-1304-2.patch [ 12533443 ]
          Arvind Prabhakar made changes -
          Attachment FLUME-1304-2.patch [ 12533396 ]
          Arvind Prabhakar made changes -
          Attachment FLUME-1304-2.patch [ 12533396 ]
          Arvind Prabhakar made changes -
          Remote Link This issue links to "Review Request (Web Link)" [ 10213 ]
          Arvind Prabhakar made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Fix Version/s v1.2.0 [ 12320243 ]
          Hide
          Arvind Prabhakar added a comment -

          Attached a patch.

          Show
          Arvind Prabhakar added a comment - Attached a patch.
          Arvind Prabhakar made changes -
          Attachment FLUME-1304-1.patch [ 12533356 ]
          Arvind Prabhakar made changes -
          Assignee Arvind Prabhakar [ aprabhakar ]
          Arvind Prabhakar made changes -
          Field Original Value New Value
          Description The file channel initializes the checkpoint file in a loop to fill capacity. On a dev machine, this loop takes 20 seconds to allocate a 1M capacity channel. We should try to optimize it further.
          Arvind Prabhakar created issue -

            People

            • Assignee:
              Arvind Prabhakar
              Reporter:
              Arvind Prabhakar
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development