Revert "Making {max,min}SessionTimeout configurable for MiniZooKeeperCluster"

This reverts commit bcefdf7d18.
This commit is contained in:
Sean Busbey 2017-08-30 14:13:55 -07:00
parent bcefdf7d18
commit 1e28c9be6b
1 changed files with 0 additions and 3 deletions

View File

@ -225,9 +225,6 @@ public class MiniZooKeeperCluster {
} }
ZooKeeperServer server = new ZooKeeperServer(dir, dir, tickTimeToUse); ZooKeeperServer server = new ZooKeeperServer(dir, dir, tickTimeToUse);
// Setting {min,max}SessionTimeout defaults to be the same as in Zookeeper
server.setMinSessionTimeout(configuration.getInt("hbase.zookeeper.property.minSessionTimeout", -1));
server.setMaxSessionTimeout(configuration.getInt("hbase.zookeeper.property.maxSessionTimeout", -1));
NIOServerCnxnFactory standaloneServerFactory; NIOServerCnxnFactory standaloneServerFactory;
while (true) { while (true) {
try { try {