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:
parent
9f638ad2d3
commit
1934652769
|
@ -124,7 +124,7 @@ public class MiniZooKeeperCluster {
|
||||||
// resulting in test failure (client timeout on first session).
|
// resulting in test failure (client timeout on first session).
|
||||||
// set env and directly in order to handle static init/gc issues
|
// set env and directly in order to handle static init/gc issues
|
||||||
System.setProperty("zookeeper.preAllocSize", "100");
|
System.setProperty("zookeeper.preAllocSize", "100");
|
||||||
FileTxnLog.setPreallocSize(100);
|
FileTxnLog.setPreallocSize(100 * 1024);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int startup(File baseDir) throws IOException, InterruptedException {
|
public int startup(File baseDir) throws IOException, InterruptedException {
|
||||||
|
|
Loading…
Reference in New Issue