Index: src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java =================================================================== --- src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java (revision 1334948) +++ src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java (working copy) @@ -1340,11 +1340,13 @@ } LOG.info("Mini mapreduce cluster started"); + JobConf mrClusterJobConf = mrCluster.createJobConf(); // Needed for TestImportTsv. - conf.set("mapred.job.tracker", - mrCluster.createJobConf().get("mapred.job.tracker")); + conf.set("mapred.job.tracker", mrClusterJobConf.get("mapred.job.tracker")); // this for mrv2 support; mr1 ignores this conf.set("mapreduce.framework.name", "yarn"); + conf.set("yarn.resourcemanager.address", mrClusterJobConf + .get("yarn.resourcemanager.address")); } /**