YARN-11204. Various MapReduce tests fail with NPE in AggregatedLogDeletionService.stopRMClient. Contributed by Szilard Nemeth.
This commit is contained in:
parent
073b8ea1d5
commit
2d133a54ac
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue