浏览代码

HADOOP-4786. Fix broken compilation error in TestTrackerBlacklistAcrossJobs.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@723769 13f79535-47bb-0310-9956-ffa450edef68
Hemanth Yamijala 16 年之前
父节点
当前提交
71b7708b6e
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 3 0
      CHANGES.txt
  2. 1 1
      src/test/org/apache/hadoop/mapred/TestTrackerBlacklistAcrossJobs.java

+ 3 - 0
CHANGES.txt

@@ -288,6 +288,9 @@ Trunk (unreleased changes)
     HADOOP-4623. Maintain running tasks even if speculative execution is off.
     (Amar Kamat via yhemanth)
 
+    HADOOP-4786. Fix broken compilation error in 
+    TestTrackerBlacklistAcrossJobs. (yhemanth)
+
 Release 0.19.1 - Unreleased
 
   IMPROVEMENTS

+ 1 - 1
src/test/org/apache/hadoop/mapred/TestTrackerBlacklistAcrossJobs.java

@@ -67,7 +67,7 @@ public class TestTrackerBlacklistAcrossJobs extends TestCase {
     if (!fileSys.mkdirs(inDir)) {
       throw new IOException("Mkdirs failed to create " + inDir.toString());
     }
-    TestRackAwareTaskPlacement.writeFile(dfs.getNameNode(), conf, 
+    UtilsForTests.writeFile(dfs.getNameNode(), conf, 
                                  new Path(inDir + "/file"), (short) 1);
     // start mr cluster
     JobConf jtConf = new JobConf();