hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdoug...@apache.org
Subject svn commit: r654896 - in /hadoop/core/trunk: CHANGES.txt src/test/org/apache/hadoop/mapred/TestMiniMRDFSSort.java
Date Fri, 09 May 2008 17:41:39 GMT
Author: cdouglas
Date: Fri May  9 10:41:38 2008
New Revision: 654896

URL: http://svn.apache.org/viewvc?rev=654896&view=rev
Log:
HADOOP-3309. Lower io.sort.mb and fs.inmemory.size.mb so it passes on Windows.
(lohit vijayarenu via cdouglas)



Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/test/org/apache/hadoop/mapred/TestMiniMRDFSSort.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=654896&r1=654895&r2=654896&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Fri May  9 10:41:38 2008
@@ -203,6 +203,9 @@
     HADOOP-3299. CompositeInputFormat should configure the sub-input
     formats. (cdouglas via omalley)
 
+    HADOOP-3309. Lower io.sort.mb and fs.inmemory.size.mb for MiniMRDFSSort
+    unit test so it passes on Windows. (lohit vijayarenu via cdouglas)
+
 Release 0.17.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/core/trunk/src/test/org/apache/hadoop/mapred/TestMiniMRDFSSort.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/test/org/apache/hadoop/mapred/TestMiniMRDFSSort.java?rev=654896&r1=654895&r2=654896&view=diff
==============================================================================
--- hadoop/core/trunk/src/test/org/apache/hadoop/mapred/TestMiniMRDFSSort.java (original)
+++ hadoop/core/trunk/src/test/org/apache/hadoop/mapred/TestMiniMRDFSSort.java Fri May  9
10:41:38 2008
@@ -80,6 +80,10 @@
     try {
       Configuration conf = new Configuration();
 
+      // set io.sort.mb and fsinmemory.size.mb to lower value in test
+      conf.setInt("io.sort.mb", 5);
+      conf.setInt("fs.inmemory.size.mb", 20);
+
       // Start the mini-MR and mini-DFS clusters
       dfs = new MiniDFSCluster(conf, NUM_HADOOP_SLAVES, true, null);
       fileSys = dfs.getFileSystem();



Mime
View raw message