You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by jm...@apache.org on 2013/04/12 16:58:31 UTC
svn commit: r1467301 -
/hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
Author: jmhsieh
Date: Fri Apr 12 14:58:31 2013
New Revision: 1467301
URL: http://svn.apache.org/r1467301
Log:
HBASE-8324 TestHFileOutputFormat.testMRIncremental* fails against hadoop2 profile
Modified:
hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
Modified: hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java?rev=1467301&r1=1467300&r2=1467301&view=diff
==============================================================================
--- hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java (original)
+++ hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java Fri Apr 12 14:58:31 2013
@@ -1648,10 +1648,17 @@ public class HBaseTestingUtility extends
forceChangeTaskLogDir();
+ //// hadoop2 specific settings
// Tests were failing because this process used 6GB of virtual memory and was getting killed.
// we up the VM usable so that processes don't get killed.
conf.setFloat("yarn.nodemanager.vmem-pmem-ratio", 8.0f);
+ // Tests were failing due to MAPREDUCE-4880 / MAPREDUCE-4607 against hadoop 2.0.2-alpha and
+ // this avoids the problem by disabling speculative task execution in tests.
+ conf.setBoolean("mapreduce.map.speculative", false);
+ conf.setBoolean("mapreduce.reduce.speculative", false);
+ ////
+
// Allow the user to override FS URI for this map-reduce cluster to use.
mrCluster = new MiniMRCluster(servers,
FS_URI != null ? FS_URI : FileSystem.get(conf).getUri().toString(), 1,