hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r524180 - in /lucene/hadoop/trunk: CHANGES.txt src/test/org/apache/hadoop/dfs/TestReplicationPolicy.java
Date Fri, 30 Mar 2007 17:07:24 GMT
Author: cutting
Date: Fri Mar 30 10:07:24 2007
New Revision: 524180

URL: http://svn.apache.org/viewvc?view=rev&rev=524180
Log:
HADOOP-1164.  Fix TestReplicationPolicy to specify port zero, so that a free port is automatically
selected.  Contributed by Owen.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestReplicationPolicy.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=524180&r1=524179&r2=524180
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Fri Mar 30 10:07:24 2007
@@ -55,6 +55,9 @@
 16. HADOOP-1165.  In records, replace idential generated toString
     methods with a method on the base class.  (Milind Bhandarkar via cutting)
 
+17. HADOOP-1164.  Fix TestReplicationPolicy to specify port zero, so
+    that a free port is automatically selected.  (omalley via cutting)
+
 
 Release 0.12.3 (not yet released)
 

Modified: lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestReplicationPolicy.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestReplicationPolicy.java?view=diff&rev=524180&r1=524179&r2=524180
==============================================================================
--- lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestReplicationPolicy.java (original)
+++ lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestReplicationPolicy.java Fri Mar
30 10:07:24 2007
@@ -31,7 +31,7 @@
   
   static {
     try {
-      CONF.set("fs.default.name", "localhost:8020");
+      CONF.set("fs.default.name", "localhost:0");
       NameNode.format(CONF);
       namenode = new NameNode(CONF);
     } catch (IOException e) {



Mime
View raw message