diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/jobhistory/TestJobHistoryEventHandler.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/jobhistory/TestJobHistoryEventHandler.java index c9a7d2d083..fbeb94a2a1 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/jobhistory/TestJobHistoryEventHandler.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/test/java/org/apache/hadoop/mapreduce/jobhistory/TestJobHistoryEventHandler.java @@ -1119,6 +1119,7 @@ protected void processDoneFiles(JobId jobId) throws IOException { class JHEventHandlerForSigtermTest extends JobHistoryEventHandler { public JHEventHandlerForSigtermTest(AppContext context, int startCount) { super(context, startCount); + JobHistoryEventHandler.fileMap.clear(); } public void addToFileMap(JobId jobId) {