HBASE-8324 TestHFileOutputFormat.testMRIncremental* fails against hadoop2 profile
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1467300 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
82059f4345
commit
0623f4b2a5
|
@ -1650,10 +1650,17 @@ public class HBaseTestingUtility extends HBaseCommonTestingUtility {
|
||||||
|
|
||||||
forceChangeTaskLogDir();
|
forceChangeTaskLogDir();
|
||||||
|
|
||||||
|
//// hadoop2 specific settings
|
||||||
// Tests were failing because this process used 6GB of virtual memory and was getting killed.
|
// 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.
|
// we up the VM usable so that processes don't get killed.
|
||||||
conf.setFloat("yarn.nodemanager.vmem-pmem-ratio", 8.0f);
|
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.
|
// Allow the user to override FS URI for this map-reduce cluster to use.
|
||||||
mrCluster = new MiniMRCluster(servers,
|
mrCluster = new MiniMRCluster(servers,
|
||||||
FS_URI != null ? FS_URI : FileSystem.get(conf).getUri().toString(), 1,
|
FS_URI != null ? FS_URI : FileSystem.get(conf).getUri().toString(), 1,
|
||||||
|
|
Loading…
Reference in New Issue