Browse Source

HDFS-750. Fix build failure due to TestRename. Contributed by Suresh Srinivas.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hdfs/trunk@832540 13f79535-47bb-0310-9956-ffa450edef68
Suresh Srinivas 16 years ago
parent
commit
c62e8ffd6d
2 changed files with 3 additions and 1 deletions
  1. 2 0
      CHANGES.txt
  2. 1 1
      src/test/aop/org/apache/hadoop/fs/TestRename.java

+ 2 - 0
CHANGES.txt

@@ -34,6 +34,8 @@ Trunk (unreleased changes)
     HDFS-726. Eclipse .classpath template has outdated jar files and is
     missing some new ones. (cos)
 
+    HDFS-750. Fix build failure due to TestRename. (suresh)
+
 Release 0.21.0 - Unreleased
 
   INCOMPATIBLE CHANGES

+ 1 - 1
src/test/aop/org/apache/hadoop/fs/TestRename.java

@@ -87,7 +87,7 @@ public class TestRename {
     }
     cluster = new MiniDFSCluster(CONF, 1, format, null);
     cluster.waitClusterUp();
-    fc = FileContext.getFileContext(cluster.getFileSystem());
+    fc = FileContext.getFileContext(cluster.getURI(), CONF);
   }
 
   /**