hadoop-zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ph...@apache.org
Subject svn commit: r924653 - in /hadoop/zookeeper/trunk: CHANGES.txt src/contrib/bookkeeper/test/org/apache/bookkeeper/test/BaseTestCase.java
Date Thu, 18 Mar 2010 06:23:22 GMT
Author: phunt
Date: Thu Mar 18 06:23:21 2010
New Revision: 924653

URL: http://svn.apache.org/viewvc?rev=924653&view=rev
Log:
ZOOKEEPER-709. bookkeeper build failing with missing factory

Modified:
    hadoop/zookeeper/trunk/CHANGES.txt
    hadoop/zookeeper/trunk/src/contrib/bookkeeper/test/org/apache/bookkeeper/test/BaseTestCase.java

Modified: hadoop/zookeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/CHANGES.txt?rev=924653&r1=924652&r2=924653&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/CHANGES.txt (original)
+++ hadoop/zookeeper/trunk/CHANGES.txt Thu Mar 18 06:23:21 2010
@@ -298,6 +298,9 @@ BUGFIXES: 
   ZOOKEEPER-591_2. The C Client cannot exit properly in some situation
   (mahadev via phunt)
 
+  ZOOKEEPER-709. bookkeeper build failing with missing factory
+  (phunt)
+
 IMPROVEMENTS:
   ZOOKEEPER-473. cleanup junit tests to eliminate false positives due to
   "socket reuse" and failure to close client (phunt via mahadev)

Modified: hadoop/zookeeper/trunk/src/contrib/bookkeeper/test/org/apache/bookkeeper/test/BaseTestCase.java
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/src/contrib/bookkeeper/test/org/apache/bookkeeper/test/BaseTestCase.java?rev=924653&r1=924652&r2=924653&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/src/contrib/bookkeeper/test/org/apache/bookkeeper/test/BaseTestCase.java
(original)
+++ hadoop/zookeeper/trunk/src/contrib/bookkeeper/test/org/apache/bookkeeper/test/BaseTestCase.java
Thu Mar 18 06:23:21 2010
@@ -22,6 +22,7 @@
 package org.apache.bookkeeper.test;
 
 import java.io.File;
+import java.net.InetSocketAddress;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Collection;
@@ -88,7 +89,7 @@ public abstract class BaseTestCase exten
         ZkTmpDir.mkdir();
 
         zks = new ZooKeeperServer(ZkTmpDir, ZkTmpDir, ZooKeeperDefaultPort);
-        serverFactory = new NIOServerCnxn.Factory(ZooKeeperDefaultPort);
+        serverFactory = new NIOServerCnxn.Factory(new InetSocketAddress(ZooKeeperDefaultPort));
         serverFactory.startup(zks);
 
         boolean b = ClientBase.waitForServerUp(HOSTPORT, ClientBase.CONNECTION_TIMEOUT);



Mime
View raw message