MAPREDUCE-7310. Clear the fileMap in JHEventHandlerForSigtermTest (#2499)
Co-authored-by: Zhengxi Li <zli89@illinois.edu> Reviewed-by: Wanqiang Ji <jiwq@apache.org> Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
This commit is contained in:
parent
ae894ecfcc
commit
ca7dd5fad3
|
@ -1119,6 +1119,7 @@ class JHEvenHandlerForTest extends JobHistoryEventHandler {
|
||||||
class JHEventHandlerForSigtermTest extends JobHistoryEventHandler {
|
class JHEventHandlerForSigtermTest extends JobHistoryEventHandler {
|
||||||
public JHEventHandlerForSigtermTest(AppContext context, int startCount) {
|
public JHEventHandlerForSigtermTest(AppContext context, int startCount) {
|
||||||
super(context, startCount);
|
super(context, startCount);
|
||||||
|
JobHistoryEventHandler.fileMap.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addToFileMap(JobId jobId) {
|
public void addToFileMap(JobId jobId) {
|
||||||
|
|
Loading…
Reference in New Issue