hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhr...@apache.org
Subject svn commit: r649318 - in /hadoop/core/trunk: CHANGES.txt src/test/org/apache/hadoop/dfs/TestDFSShell.java
Date Thu, 17 Apr 2008 22:34:42 GMT
Author: dhruba
Date: Thu Apr 17 15:34:28 2008
New Revision: 649318

URL: http://svn.apache.org/viewvc?rev=649318&view=rev
Log:
HADOOP-3237. Fixes TestDFSShell.testErrOutPut on Windows platform.
(Mahadev Konar via ddas)


Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/test/org/apache/hadoop/dfs/TestDFSShell.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=649318&r1=649317&r2=649318&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Thu Apr 17 15:34:28 2008
@@ -610,6 +610,9 @@
     HADOOP-3251. Fixes getFilesystemName in JobTracker and LocalJobRunner to
     use FileSystem.getUri instead of FileSystem.getName. (Arun Murthy via ddas)
 
+    HADOOP-3237. Fixes TestDFSShell.testErrOutPut on Windows platform.
+    (Mahadev Konar via ddas)
+
 Release 0.16.3 - 2008-04-16
 
   BUG FIXES

Modified: hadoop/core/trunk/src/test/org/apache/hadoop/dfs/TestDFSShell.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/test/org/apache/hadoop/dfs/TestDFSShell.java?rev=649318&r1=649317&r2=649318&view=diff
==============================================================================
--- hadoop/core/trunk/src/test/org/apache/hadoop/dfs/TestDFSShell.java (original)
+++ hadoop/core/trunk/src/test/org/apache/hadoop/dfs/TestDFSShell.java Thu Apr 17 15:34:28
2008
@@ -404,8 +404,7 @@
       out.reset();
       argv = new String[1];
       argv[0] = "-du";
-      srcFs.mkdirs(new Path("/user/"+ 
-          System.getProperty("user.name")));
+      srcFs.mkdirs(srcFs.getHomeDirectory());
       ret = ToolRunner.run(shell, argv);
       returned = out.toString();
       assertTrue(" no error ", (ret == 0));



Mime
View raw message