HBASE-7867 setPreallocSize is different with COMMENT in setupTestEnv in MiniZooKeeperCluster.java (DaeMyung Kang)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1447106 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
larsh 2013-02-17 23:54:17 +00:00
parent 9f638ad2d3
commit 1934652769
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ public class MiniZooKeeperCluster {
// resulting in test failure (client timeout on first session).
// set env and directly in order to handle static init/gc issues
System.setProperty("zookeeper.preAllocSize", "100");
FileTxnLog.setPreallocSize(100);
FileTxnLog.setPreallocSize(100 * 1024);
}
public int startup(File baseDir) throws IOException, InterruptedException {