This is an automated email from the ASF dual-hosted git repository.
aajisaka pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.2 by this push:
new 53460b6 MAPREDUCE-7310. Clear the fileMap in
JHEventHandlerForSigtermTest (#2499)
53460b6 is described below
commit 53460b664d8619c4d4cc38d983e5b6d5d8f9b35b
Author: lzx404243 <[email protected]>
AuthorDate: Tue Jan 12 00:45:13 2021 -0600
MAPREDUCE-7310. Clear the fileMap in JHEventHandlerForSigtermTest (#2499)
Co-authored-by: Zhengxi Li <[email protected]>
Reviewed-by: Wanqiang Ji <[email protected]>
Signed-off-by: Akira Ajisaka <[email protected]>
(cherry picked from commit ca7dd5fad331e3942547b88fdc4c0ad59865a71a)
---
.../apache/hadoop/mapreduce/jobhistory/TestJobHistoryEventHandler.java | 1 +
1 file changed, 1 insertion(+)
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 096d13e..65211a3 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
@@ -1117,6 +1117,7 @@ class JHEvenHandlerForTest extends JobHistoryEventHandler
{
class JHEventHandlerForSigtermTest extends JobHistoryEventHandler {
public JHEventHandlerForSigtermTest(AppContext context, int startCount) {
super(context, startCount);
+ JobHistoryEventHandler.fileMap.clear();
}
public void addToFileMap(JobId jobId) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]