You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by "Su Ralph (JIRA)" <ji...@apache.org> on 2016/10/24 00:46:58 UTC

[jira] [Created] (EAGLE-672) AlertEngine: MongoStateStore should be removed

Su Ralph created EAGLE-672:
------------------------------

             Summary: AlertEngine: MongoStateStore should be removed
                 Key: EAGLE-672
                 URL: https://issues.apache.org/jira/browse/EAGLE-672
             Project: Eagle
          Issue Type: Task
    Affects Versions: v0.5.0
            Reporter: Su Ralph
            Assignee: Garrett Li
             Fix For: v0.5.0


Below stack reported by Hao. We should not have mongo state store evolved in deployment that doesn't have mongo enabled. And the class have too much unreasonable hardcode field names. Please consider remove it.

Stack:

2016-10-23 03:39:02 Thread-13 org.apache.eagle.alert.engine.publisher.dedup.MongoDedupEventsStore [ERROR] find dedup state failed, but the state in memory is good, could be ingored.
java.lang.NullPointerException: null
       at org.apache.eagle.alert.engine.publisher.dedup.MongoDedupEventsStore.getEvents(MongoDedupEventsStore.java:102) ~[stormjar.jar:na]
       at org.apache.eagle.alert.engine.publisher.dedup.DedupCache.getEvents(DedupCache.java:103) [stormjar.jar:na]
       at org.apache.eagle.alert.engine.publisher.dedup.DedupCache$2.run(DedupCache.java:81) [stormjar.jar:na]
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_91]
       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_91]
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_91]
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_91]
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_91]
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_91]
       at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91]





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)