diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/TestFileOutputCommitter.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/TestFileOutputCommitter.java index 5c4428b486..7678f35363 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/TestFileOutputCommitter.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/TestFileOutputCommitter.java @@ -27,7 +27,6 @@ import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; -import junit.framework.Assert; import junit.framework.TestCase; import org.apache.commons.logging.Log; @@ -315,7 +314,7 @@ private void testMapFileOutputCommitterInternal(int version) try { MapFileOutputFormat.getReaders(outDir, conf); } catch (Exception e) { - Assert.fail("Fail to read from MapFileOutputFormat: " + e); + fail("Fail to read from MapFileOutputFormat: " + e); e.printStackTrace(); }