Browse Source

svn merge -c 1309481 FIXES: MAPREDUCE-3650. testGetTokensForHftpFS() fails (Ravi Prakash via bobby)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1309483 13f79535-47bb-0310-9956-ffa450edef68
Robert Joseph Evans 13 years ago
parent
commit
91fac1e0bb

+ 1 - 0
hadoop-mapreduce-project/CHANGES.txt

@@ -51,6 +51,7 @@ Release 0.23.3 - UNRELEASED
     MAPREDUCE-3082. Archive command take wrong path for input file with current
     MAPREDUCE-3082. Archive command take wrong path for input file with current
     directory (John George via bobby)
     directory (John George via bobby)
 
 
+    MAPREDUCE-3650. testGetTokensForHftpFS() fails (Ravi Prakash via bobby)
 Release 0.23.2 - UNRELEASED
 Release 0.23.2 - UNRELEASED
 
 
   INCOMPATIBLE CHANGES
   INCOMPATIBLE CHANGES

+ 1 - 1
hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java

@@ -320,7 +320,7 @@ public class TestTokenCache {
     final Token<DelegationTokenIdentifier> t = 
     final Token<DelegationTokenIdentifier> t = 
       new Token<DelegationTokenIdentifier>(dtId, dtSecretManager);
       new Token<DelegationTokenIdentifier>(dtId, dtSecretManager);
 
 
-    final URI uri = new URI("hftp://host:2222/file1");
+    final URI uri = new URI("hftp://127.0.0.1:2222/file1");
     final String fs_addr = 
     final String fs_addr = 
       SecurityUtil.buildDTServiceName(uri, NameNode.DEFAULT_PORT);
       SecurityUtil.buildDTServiceName(uri, NameNode.DEFAULT_PORT);
     t.setService(new Text(fs_addr));
     t.setService(new Text(fs_addr));