hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject svn commit: r1407286 - /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.java
Date Thu, 08 Nov 2012 22:07:38 GMT
Author: enis
Date: Thu Nov  8 22:07:37 2012
New Revision: 1407286

URL: http://svn.apache.org/viewvc?rev=1407286&view=rev
Log:
HBASE-6822. [WINDOWS] MiniZookeeperCluster multiple daemons bind to the same port

Modified:
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.java

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.java?rev=1407286&r1=1407285&r2=1407286&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.java
Thu Nov  8 22:07:37 2012
@@ -187,6 +187,7 @@ public class MiniZooKeeperCluster {
       clientPortList.add(tentativePort);
       standaloneServerFactoryList.add(standaloneServerFactory);
       zooKeeperServers.add(server);
+      tentativePort++; //for the next server
     }
 
     // set the first one to be active ZK; Others are backups



Mime
View raw message