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

jihao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 3d87cbb  [TE] fix for the monitoring task scheduler (#5592)
3d87cbb is described below

commit 3d87cbb8116aa6a275b24c6237ae4aa40f1f909d
Author: Jihao Zhang <[email protected]>
AuthorDate: Thu Jun 18 17:22:21 2020 -0700

    [TE] fix for the monitoring task scheduler (#5592)
    
    The monitoring task scheduler couldn't start due to a NullPointerException. 
This is caused by the code clean up in PR-5435. This PR fixes the issue.
---
 .../org/apache/pinot/thirdeye/anomaly/monitor/MonitorJobScheduler.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/anomaly/monitor/MonitorJobScheduler.java
 
b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/anomaly/monitor/MonitorJobScheduler.java
index c63463f..37383d1 100644
--- 
a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/anomaly/monitor/MonitorJobScheduler.java
+++ 
b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/anomaly/monitor/MonitorJobScheduler.java
@@ -50,6 +50,7 @@ public class MonitorJobScheduler {
     monitorJobContext = new MonitorJobContext();
     monitorJobContext.setTaskDAO(anomalyTaskDAO);
     monitorJobContext.setMonitorConfiguration(monitorConfiguration);
+    monitorJobContext.setJobDAO(DAO_REGISTRY.getJobDAO());
 
     monitorJobRunner = new MonitorJobRunner(monitorJobContext);
     scheduledExecutorService


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

Reply via email to