You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/04/13 14:06:25 UTC
[jira] [Commented] (EAGLE-223) Notification plugin to enable
multiple instance of given alert plugin
[ https://issues.apache.org/jira/browse/EAGLE-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15239123#comment-15239123 ]
ASF GitHub Bot commented on EAGLE-223:
--------------------------------------
Github user haoch commented on the pull request:
https://github.com/apache/incubator-eagle/pull/146#issuecomment-209398352
NPE is thrown:
~~~
2016-04-13 20:04:29,558 ERROR [Thread-8-AlertNotificationExecutor_6] daemon.executor[0]:
java.lang.IllegalStateException: Fail to initialize NotificationManager:
at org.apache.eagle.alert.notification.AlertNotificationExecutor.init(AlertNotificationExecutor.java:75)
at org.apache.eagle.datastream.storm.JavaStormBoltWrapper.prepare(JavaStormBoltWrapper.scala:34)
at backtype.storm.daemon.executor$fn__3441$fn__3453.invoke(executor.clj:692)
at backtype.storm.util$async_loop$fn__464.invoke(util.clj:461)
at clojure.lang.AFn.run(AFn.java:24)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: java.lang.NullPointerException
at org.apache.eagle.notification.plugin.NotificationPluginManagerImpl.internalInit(NotificationPluginManagerImpl.java:68)
at org.apache.eagle.notification.plugin.NotificationPluginManagerImpl.<init>(NotificationPluginManagerImpl.java:46)
at org.apache.eagle.alert.notification.AlertNotificationExecutor.init(AlertNotificationExecutor.java:72)
... 5 more
Caused by: java.lang.NullPointerException
at org.apache.eagle.notification.plugin.AlertEmailPlugin.update(AlertEmailPlugin.java:78)
at org.apache.eagle.notification.plugin.AlertEmailPlugin.init(AlertEmailPlugin.java:60)
at org.apache.eagle.notification.plugin.NotificationPluginManagerImpl.internalInit(NotificationPluginManagerImpl.java:59)
... 7 more
2016-04-13 20:04:29,570 ERROR [Thread-8-AlertNotificationExecutor_6] storm.util[0]: Halting process: ("Worker died")
java.lang.RuntimeException: ("Worker died")
at backtype.storm.util$exit_process_BANG_.doInvoke(util.clj:325)
at clojure.lang.RestFn.invoke(RestFn.java:423)
at backtype.storm.daemon.worker$fn__3808$fn__3809.invoke(worker.clj:452)
at backtype.storm.daemon.executor$mk_executor_data$fn__3274$fn__3275.invoke(executor.clj:240)
at backtype.storm.util$async_loop$fn__464.invoke(util.clj:473)
at clojure.lang.AFn.run(AFn.java:24)
at java.lang.Thread.run(Thread.java:745)
~~~
> Notification plugin to enable multiple instance of given alert plugin
> ----------------------------------------------------------------------
>
> Key: EAGLE-223
> URL: https://issues.apache.org/jira/browse/EAGLE-223
> Project: Eagle
> Issue Type: Improvement
> Affects Versions: v0.3.0
> Reporter: Su Ralph
> Assignee: Zhao, Qingwen
> Fix For: v0.4.0
>
>
> Currently, eagle use notification type as key which implies each notification plugin by nature to have only one instance for given application. We might want to enhance this to enable to multiple instance of given notification type.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)