This is an automated email from the ASF dual-hosted git repository.

quapaw pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 2d133a54ac9 YARN-11204. Various MapReduce tests fail with NPE in 
AggregatedLogDeletionService.stopRMClient. Contributed by Szilard Nemeth.
2d133a54ac9 is described below

commit 2d133a54ac91bb961805915045b6ced2d06801ec
Author: 9uapaw <[email protected]>
AuthorDate: Wed Jun 29 15:11:49 2022 +0200

    YARN-11204. Various MapReduce tests fail with NPE in 
AggregatedLogDeletionService.stopRMClient. Contributed by Szilard Nemeth.
---
 .../apache/hadoop/yarn/logaggregation/AggregatedLogDeletionService.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/logaggregation/AggregatedLogDeletionService.java
 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/logaggregation/AggregatedLogDeletionService.java
index 4f10b2fd4ce..c7e871d0f50 100644
--- 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/logaggregation/AggregatedLogDeletionService.java
+++ 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/logaggregation/AggregatedLogDeletionService.java
@@ -59,7 +59,7 @@ public class AggregatedLogDeletionService extends 
AbstractService {
   
   private Timer timer = null;
   private long checkIntervalMsecs;
-  private List<LogDeletionTask> tasks;
+  private List<LogDeletionTask> tasks = new ArrayList<>();
   
   public static class LogDeletionTask extends TimerTask {
     private Configuration conf;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to