hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From szets...@apache.org
Subject svn commit: r1414483 - in /hadoop/common/branches/branch-1: CHANGES.txt src/test/org/apache/hadoop/net/TestNetUtils.java
Date Wed, 28 Nov 2012 00:40:20 GMT
Author: szetszwo
Date: Wed Nov 28 00:40:19 2012
New Revision: 1414483

URL: http://svn.apache.org/viewvc?rev=1414483&view=rev
Log:
HADOOP-9099. TestNetUtils fails if "UnknownHost" is resolved as a valid hostname.  Contributed
by Ivan Mitic 

Modified:
    hadoop/common/branches/branch-1/CHANGES.txt
    hadoop/common/branches/branch-1/src/test/org/apache/hadoop/net/TestNetUtils.java

Modified: hadoop/common/branches/branch-1/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1/CHANGES.txt?rev=1414483&r1=1414482&r2=1414483&view=diff
==============================================================================
--- hadoop/common/branches/branch-1/CHANGES.txt (original)
+++ hadoop/common/branches/branch-1/CHANGES.txt Wed Nov 28 00:40:19 2012
@@ -319,6 +319,9 @@ Release 1.2.0 - unreleased
     HDFS-4208. NameNode could be stuck in SafeMode due to never-created
     blocks. (Brandon Li via suresh)
 
+    HADOOP-9099. TestNetUtils fails if "UnknownHost" is resolved as a valid
+    hostname.  (Ivan Mitic via szetszwo)
+
 Release 1.1.1 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/common/branches/branch-1/src/test/org/apache/hadoop/net/TestNetUtils.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1/src/test/org/apache/hadoop/net/TestNetUtils.java?rev=1414483&r1=1414482&r2=1414483&view=diff
==============================================================================
--- hadoop/common/branches/branch-1/src/test/org/apache/hadoop/net/TestNetUtils.java (original)
+++ hadoop/common/branches/branch-1/src/test/org/apache/hadoop/net/TestNetUtils.java Wed Nov
28 00:40:19 2012
@@ -332,7 +332,7 @@ public class TestNetUtils {
   @Test
   public void testNormalizeHostName() {
     List<String> hosts = Arrays.asList(new String[] { "127.0.0.1", "localhost",
-        "3w.org", "UnknownHost" });
+        "3w.org", "UnknownHost123" });
     List<String> normalizedHosts = NetUtils.normalizeHostNames(hosts);
     // when ipaddress is normalized, same address is expected in return
     assertEquals(normalizedHosts.get(0), hosts.get(0));



Mime
View raw message