[prev in list] [next in list] [prev in thread] [next in thread] 

List:       flume-commits
Subject:    git commit: FLUME-2267. Increase default transactionCapacity for FileChannel from 1000 to 10000
From:       mpercy () apache ! org
Date:       2013-12-14 8:53:25
Message-ID: 880b2dc682834ad0b31e6e1bc786d8ec () git ! apache ! org
[Download RAW message or body]

Updated Branches:
  refs/heads/flume-1.5 583038a18 -> bf917dd96


FLUME-2267. Increase default transactionCapacity for FileChannel from 1000 to 10000

(Udai Kiran Potluri via Mike Percy)


Project: http://git-wip-us.apache.org/repos/asf/flume/repo
Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/bf917dd9
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/bf917dd9
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/bf917dd9

Branch: refs/heads/flume-1.5
Commit: bf917dd96eaf8e044d05f4ecf40c93296e117e2f
Parents: 583038a
Author: Mike Percy <mpercy@cloudera.com>
Authored: Sat Dec 14 00:51:57 2013 -0800
Committer: Mike Percy <mpercy@cloudera.com>
Committed: Sat Dec 14 00:53:08 2013 -0800

----------------------------------------------------------------------
 .../org/apache/flume/channel/file/FileChannelConfiguration.java    | 2 +-
 flume-ng-doc/sphinx/FlumeUserGuide.rst                             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flume/blob/bf917dd9/flume-ng-channels/flume-fil \
                e-channel/src/main/java/org/apache/flume/channel/file/FileChannelConfiguration.java
                
----------------------------------------------------------------------
diff --git a/flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FileChannelConfiguration.java \
b/flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FileChannelConfiguration.java
 index c2dcffc..10ca11f 100644
--- a/flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FileChannelConfiguration.java
                
+++ b/flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FileChannelConfiguration.java
 @@ -39,7 +39,7 @@ public class FileChannelConfiguration {
    * Maximum number of put/take events in a transaction. Default: 1000
    */
   public static final String TRANSACTION_CAPACITY = "transactionCapacity";
-  public static final int DEFAULT_TRANSACTION_CAPACITY = 1000;
+  public static final int DEFAULT_TRANSACTION_CAPACITY = 10000;
   /**
    * Interval at which checkpoints should be taken. Default 30s (ms)
    */

http://git-wip-us.apache.org/repos/asf/flume/blob/bf917dd9/flume-ng-doc/sphinx/FlumeUserGuide.rst
                
----------------------------------------------------------------------
diff --git a/flume-ng-doc/sphinx/FlumeUserGuide.rst \
b/flume-ng-doc/sphinx/FlumeUserGuide.rst index 335a991..7a41efb 100644
--- a/flume-ng-doc/sphinx/FlumeUserGuide.rst
+++ b/flume-ng-doc/sphinx/FlumeUserGuide.rst
@@ -2139,7 +2139,7 @@ checkpointDir                                     \
~/.flume/file-channel/checkpoi  useDualCheckpoints                                \
false                             Backup the checkpoint. If this is set to ``true``, \
``backupCheckpointDir`` **must** be set  backupCheckpointDir                          \
--                                The directory where the checkpoint is backed up to. \
This directory **must not** be the same as the data directories or the checkpoint \
directory  dataDirs                                          \
~/.flume/file-channel/data        Comma separated list of directories for storing log \
files. Using multiple directories on separate disks can improve file channel \
                peformance
-transactionCapacity                               1000                              \
The maximum size of transaction supported by the channel +transactionCapacity         \
10000                             The maximum size of transaction supported by the \
channel  checkpointInterval                                30000                      \
Amount of time (in millis) between checkpoints  maxFileSize                           \
2146435071                        Max size (in bytes) of a single log file  \
minimumRequiredSpace                              524288000                         \
Minimum Required free space (in bytes). To avoid data corruption, File Channel stops \
accepting take/put requests when free space drops below this value


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic