hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdoug...@apache.org
Subject svn commit: r925553 - in /hadoop/mapreduce/trunk: CHANGES.txt src/test/mapred/org/apache/hadoop/mapred/TestSubmitJob.java
Date Sat, 20 Mar 2010 06:09:51 GMT
Author: cdouglas
Date: Sat Mar 20 06:09:50 2010
New Revision: 925553

URL: http://svn.apache.org/viewvc?rev=925553&view=rev
Log:
MAPREDUCE-1615. Fix compilation of TestSubmitJob.

Modified:
    hadoop/mapreduce/trunk/CHANGES.txt
    hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestSubmitJob.java

Modified: hadoop/mapreduce/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/CHANGES.txt?rev=925553&r1=925552&r2=925553&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/CHANGES.txt (original)
+++ hadoop/mapreduce/trunk/CHANGES.txt Sat Mar 20 06:09:50 2010
@@ -469,6 +469,8 @@ Trunk (unreleased changes)
     MAPREDUCE-890. After HADOOP-4491, the user who started mapred system is 
     not able to run job. (Ravi Gummadi via vinodkv)
 
+    MAPREDUCE-1615. Fix compilation of TestSubmitJob. (cdouglas)
+
 Release 0.21.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestSubmitJob.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestSubmitJob.java?rev=925553&r1=925552&r2=925553&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestSubmitJob.java (original)
+++ hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestSubmitJob.java Sat
Mar 20 06:09:50 2010
@@ -33,6 +33,7 @@ import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.fs.Path;
 import org.apache.hadoop.fs.permission.FsPermission;
 import org.apache.hadoop.hdfs.MiniDFSCluster;
+import org.apache.hadoop.hdfs.protocol.HdfsFileStatus;
 import org.apache.hadoop.hdfs.server.namenode.NameNode;
 import org.apache.hadoop.io.DataOutputBuffer;
 import org.apache.hadoop.io.Text;
@@ -263,7 +264,8 @@ public class TestSubmitJob extends TestC
         Path path = new Path(new URI(jt.getSystemDir()).getPath());
         LOG.info("Try listing the mapred-system-dir as the user (" 
                  + user2.getUserName() + ")");
-        client.getListing(path.toString());
+        client.getListing(
+            path.toString(), HdfsFileStatus.EMPTY_NAME);
       } catch (IOException ioe) {
         failed = true;
       }
@@ -276,7 +278,8 @@ public class TestSubmitJob extends TestC
       try {
         LOG.info("Try accessing the job folder for job " + id + " as the user (" 
                  + user2.getUserName() + ")");
-        client.getListing(jobSubmitDirpath.toString());
+        client.getListing(
+            jobSubmitDirpath.toString(), HdfsFileStatus.EMPTY_NAME);
       } catch (IOException ioe) {
         failed = true;
       }
@@ -298,4 +301,4 @@ public class TestSubmitJob extends TestC
       }
     }
   }
-}
\ No newline at end of file
+}



Mime
View raw message