bookkeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From si...@apache.org
Subject bookkeeper git commit: BOOKEEPER-1002: Limiting the number of open files to avoid process max
Date Tue, 11 Apr 2017 18:15:24 GMT
Repository: bookkeeper
Updated Branches:
  refs/heads/master 48aa69dd0 -> 0f155f38b


BOOKEEPER-1002: Limiting the number of open files to avoid process max

Author: Matteo Merli <matteo.merli@gmail.com>

Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Sijie Guo <sijie@apache.org>

Closes #129 from kishorvpatil/bk1002


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

Branch: refs/heads/master
Commit: 0f155f38bb48d23aab4ac8489f7908925b8f0cca
Parents: 48aa69d
Author: Matteo Merli <matteo.merli@gmail.com>
Authored: Tue Apr 11 11:15:19 2017 -0700
Committer: Sijie Guo <sijie@apache.org>
Committed: Tue Apr 11 11:15:19 2017 -0700

----------------------------------------------------------------------
 .../test/java/org/apache/bookkeeper/client/BookieRecoveryTest.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bookkeeper/blob/0f155f38/bookkeeper-server/src/test/java/org/apache/bookkeeper/client/BookieRecoveryTest.java
----------------------------------------------------------------------
diff --git a/bookkeeper-server/src/test/java/org/apache/bookkeeper/client/BookieRecoveryTest.java
b/bookkeeper-server/src/test/java/org/apache/bookkeeper/client/BookieRecoveryTest.java
index f18e159..777b619 100644
--- a/bookkeeper-server/src/test/java/org/apache/bookkeeper/client/BookieRecoveryTest.java
+++ b/bookkeeper-server/src/test/java/org/apache/bookkeeper/client/BookieRecoveryTest.java
@@ -98,6 +98,7 @@ public class BookieRecoveryTest extends MultiLedgerManagerMultiDigestTestCase
{
         LOG.info("Using ledger manager " + ledgerManagerFactory);
         // set ledger manager
         baseConf.setLedgerManagerFactoryClassName(ledgerManagerFactory);
+        baseConf.setOpenFileLimit(200); // Limit the number of open files to avoid reaching
the proc max
         baseClientConf.setLedgerManagerFactoryClassName(ledgerManagerFactory);
     }
 


Mime
View raw message