Преглед на файлове

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.
     HADOOP-4623. Maintain running tasks even if speculative execution is off.
     (Amar Kamat via yhemanth)
     (Amar Kamat via yhemanth)
 
 
+    HADOOP-4786. Fix broken compilation error in 
+    TestTrackerBlacklistAcrossJobs. (yhemanth)
+
 Release 0.19.1 - Unreleased
 Release 0.19.1 - Unreleased
 
 
   IMPROVEMENTS
   IMPROVEMENTS

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

@@ -67,7 +67,7 @@ public class TestTrackerBlacklistAcrossJobs extends TestCase {
     if (!fileSys.mkdirs(inDir)) {
     if (!fileSys.mkdirs(inDir)) {
       throw new IOException("Mkdirs failed to create " + inDir.toString());
       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);
                                  new Path(inDir + "/file"), (short) 1);
     // start mr cluster
     // start mr cluster
     JobConf jtConf = new JobConf();
     JobConf jtConf = new JobConf();