hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rang...@apache.org
Subject svn commit: r706803 - in /hadoop/core/branches/branch-0.19: ./ CHANGES.txt src/test/org/apache/hadoop/hdfs/TestHDFSFileSystemContract.java
Date Tue, 21 Oct 2008 22:44:09 GMT
Author: rangadi
Date: Tue Oct 21 15:44:09 2008
New Revision: 706803

URL: http://svn.apache.org/viewvc?rev=706803&view=rev
Log:
HADOOP-4387. TestHDFSFileSystemContract fails on windows nightly builds.

Modified:
    hadoop/core/branches/branch-0.19/   (props changed)
    hadoop/core/branches/branch-0.19/CHANGES.txt
    hadoop/core/branches/branch-0.19/src/test/org/apache/hadoop/hdfs/TestHDFSFileSystemContract.java

Propchange: hadoop/core/branches/branch-0.19/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Oct 21 15:44:09 2008
@@ -1 +1 @@
-/hadoop/core/trunk:697306,698176,699056,699098,699415,699424,699444,699490,699517,700163,700628,700923,701273,701398,703923,704203,704261,704701,704703,704707,704712,704732,704748,704989,705391,705420,705430,705762,706350,706707,706719,706796
+/hadoop/core/trunk:697306,698176,699056,699098,699415,699424,699444,699490,699517,700163,700628,700923,701273,701398,703923,704203,704261,704701,704703,704707,704712,704732,704748,704989,705391,705420,705430,705762,706350,706707,706719,706796,706802

Modified: hadoop/core/branches/branch-0.19/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/branches/branch-0.19/CHANGES.txt?rev=706803&r1=706802&r2=706803&view=diff
==============================================================================
--- hadoop/core/branches/branch-0.19/CHANGES.txt (original)
+++ hadoop/core/branches/branch-0.19/CHANGES.txt Tue Oct 21 15:44:09 2008
@@ -953,6 +953,9 @@
     HADOOP-4358. No need to truncate access time in INode. Also fixes NPE 
     in CreateEditsLog. (Raghu Angadi) 
 
+    HADOOP-4387. TestHDFSFileSystemContract fails on windows nightly builds.
+    (Raghu Angadi)
+
 Release 0.18.2 - Unreleased
 
   BUG FIXES

Modified: hadoop/core/branches/branch-0.19/src/test/org/apache/hadoop/hdfs/TestHDFSFileSystemContract.java
URL: http://svn.apache.org/viewvc/hadoop/core/branches/branch-0.19/src/test/org/apache/hadoop/hdfs/TestHDFSFileSystemContract.java?rev=706803&r1=706802&r2=706803&view=diff
==============================================================================
--- hadoop/core/branches/branch-0.19/src/test/org/apache/hadoop/hdfs/TestHDFSFileSystemContract.java
(original)
+++ hadoop/core/branches/branch-0.19/src/test/org/apache/hadoop/hdfs/TestHDFSFileSystemContract.java
Tue Oct 21 15:44:09 2008
@@ -20,16 +20,20 @@
 
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FileSystemContractBaseTest;
+import org.apache.hadoop.security.UnixUserGroupInformation;
 
 public class TestHDFSFileSystemContract extends FileSystemContractBaseTest {
   
   private MiniDFSCluster cluster;
+  private String defaultWorkingDirectory;
 
   @Override
   protected void setUp() throws Exception {
     Configuration conf = new Configuration();
     cluster = new MiniDFSCluster(conf, 2, true, null);
     fs = cluster.getFileSystem();
+    defaultWorkingDirectory = "/user/" + 
+           UnixUserGroupInformation.login().getUserName();
   }
   
   @Override
@@ -37,5 +41,10 @@
     super.tearDown();
     cluster.shutdown();
   }
+
+  @Override
+  protected String getDefaultWorkingDirectory() {
+    return defaultWorkingDirectory;
+  }
   
 }



Mime
View raw message