YARN-11204. Various MapReduce tests fail with NPE in AggregatedLogDeletionService.stopRMClient. Contributed by Szilard Nemeth.

This commit is contained in:
9uapaw 2022-06-29 15:11:49 +02:00
parent 073b8ea1d5
commit 2d133a54ac

View File

@ -59,7 +59,7 @@ public class AggregatedLogDeletionService extends AbstractService {
private Timer timer = null; private Timer timer = null;
private long checkIntervalMsecs; private long checkIntervalMsecs;
private List<LogDeletionTask> tasks; private List<LogDeletionTask> tasks = new ArrayList<>();
public static class LogDeletionTask extends TimerTask { public static class LogDeletionTask extends TimerTask {
private Configuration conf; private Configuration conf;