Return-Path: X-Original-To: apmail-flume-commits-archive@www.apache.org Delivered-To: apmail-flume-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 83B7210303 for ; Sat, 14 Dec 2013 08:53:24 +0000 (UTC) Received: (qmail 53664 invoked by uid 500); 14 Dec 2013 08:53:24 -0000 Delivered-To: apmail-flume-commits-archive@flume.apache.org Received: (qmail 53574 invoked by uid 500); 14 Dec 2013 08:53:21 -0000 Mailing-List: contact commits-help@flume.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flume.apache.org Delivered-To: mailing list commits@flume.apache.org Received: (qmail 53554 invoked by uid 99); 14 Dec 2013 08:53:19 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Dec 2013 08:53:19 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 8D29A8B8E6E; Sat, 14 Dec 2013 08:53:19 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mpercy@apache.org To: commits@flume.apache.org Message-Id: <0bb7a3b669e6471a9bdfe9bad812655c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: FLUME-2267. Increase default transactionCapacity for FileChannel from 1000 to 10000 Date: Sat, 14 Dec 2013 08:53:19 +0000 (UTC) Updated Branches: refs/heads/trunk 90bb15383 -> 0d0437347 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/0d043734 Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/0d043734 Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/0d043734 Branch: refs/heads/trunk Commit: 0d04373473e302a3155b12945e3350cee760c151 Parents: 90bb153 Author: Mike Percy Authored: Sat Dec 14 00:51:57 2013 -0800 Committer: Mike Percy Committed: Sat Dec 14 00:51:57 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/0d043734/flume-ng-channels/flume-file-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/0d043734/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