[
https://issues.apache.org/jira/browse/EAGLE-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030849#comment-16030849
]
ASF GitHub Bot commented on EAGLE-968:
--------------------------------------
GitHub user rushikesavareddy opened a pull request:
https://github.com/apache/eagle/pull/941
[EAGLE-968] Fix for email issue in 0.5 eagle version
<!--
{% comment %}
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
{% endcomment %}
-->
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
- [ ] Make sure the PR title is formatted like:
`[EAGLE-<Jira issue #>] Description of pull request`
- [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
- [ ] Replace `<Jira issue #>` in the title with the actual Jira issue
number, if there is one.
- [ ] If this contribution is large, please file an Apache
[Individual Contributor License
Agreement](https://www.apache.org/licenses/icla.txt).
---
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rushikesavareddy/eagle branch-0.5
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/eagle/pull/941.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #941
----
commit 215329d7fb13e1e5576b18ad09c0b23e698e14a9
Author: kreddylh <[email protected]>
Date: 2017-05-31T08:43:09Z
Fix for email issue in 0.5 eagle version
----
> using Email Notification Feature throws IncompatibleClassChangeError
> --------------------------------------------------------------------
>
> Key: EAGLE-968
> URL: https://issues.apache.org/jira/browse/EAGLE-968
> Project: Eagle
> Issue Type: Bug
> Affects Versions: v0.5.0
> Reporter: Jayesh
> Assignee: Jayesh
> Fix For: v0.6.0
>
>
> {code}
> 2017-03-19 20:42:56.369 o.a.e.a.e.p.e.AlertEmailGenerator
> Thread-46-alertPublishBolt-executor[17 17] [ERROR] Failed to send email to
> ****@gmail.com,****@gmail.com, due
> to:java.util.concurrent.ExecutionException:
> java.lang.IncompatibleClassChangeError: Implementing class
> java.util.concurrent.ExecutionException:
> java.lang.IncompatibleClassChangeError: Implementing class
> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> ~[?:1.8.0_102]
> at java.util.concurrent.FutureTask.get(FutureTask.java:206)
> ~[?:1.8.0_102]
> at
> org.apache.eagle.alert.engine.publisher.email.AlertEmailGenerator.sendAlertEmail(AlertEmailGenerator.java:89)
> [stormjar.jar:?]
> at
> org.apache.eagle.alert.engine.publisher.email.AlertEmailGenerator.sendAlertEmail(AlertEmailGenerator.java:55)
> [stormjar.jar:?]
> at
> org.apache.eagle.alert.engine.publisher.impl.AlertEmailPublisher.onAlert(AlertEmailPublisher.java:130)
> [stormjar.jar:?]
> at
> org.apache.eagle.alert.engine.publisher.impl.AlertPublisherImpl.notifyAlert(AlertPublisherImpl.java:88)
> [stormjar.jar:?]
> at
> org.apache.eagle.alert.engine.publisher.impl.AlertPublisherImpl.nextEvent(AlertPublisherImpl.java:70)
> [stormjar.jar:?]
> at
> org.apache.eagle.alert.engine.runner.AlertPublisherBolt.execute(AlertPublisherBolt.java:92)
> [stormjar.jar:?]
> at
> org.apache.storm.daemon.executor$fn__4973$tuple_action_fn__4975.invoke(executor.clj:727)
> [storm-core-1.0.3.jar:1.0.3]
> at
> org.apache.storm.daemon.executor$mk_task_receiver$fn__4894.invoke(executor.clj:459)
> [storm-core-1.0.3.jar:1.0.3]
> at
> org.apache.storm.disruptor$clojure_handler$reify__4409.onEvent(disruptor.clj:40)
> [storm-core-1.0.3.jar:1.0.3]
> at
> org.apache.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:453)
> [storm-core-1.0.3.jar:1.0.3]
> at
> org.apache.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:432)
> [storm-core-1.0.3.jar:1.0.3]
> at
> org.apache.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:73)
> [storm-core-1.0.3.jar:1.0.3]
> at
> org.apache.storm.daemon.executor$fn__4973$fn__4986$fn__5039.invoke(executor.clj:846)
> [storm-core-1.0.3.jar:1.0.3]
> at org.apache.storm.util$async_loop$fn__557.invoke(util.clj:484)
> [storm-core-1.0.3.jar:1.0.3]
> at clojure.lang.AFn.run(AFn.java:22) [clojure-1.7.0.jar:?]
> at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]
> Caused by: java.lang.IncompatibleClassChangeError: Implementing class
> at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_102]
> at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
> ~[?:1.8.0_102]
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> ~[?:1.8.0_102]
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
> ~[?:1.8.0_102]
> at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
> ~[?:1.8.0_102]
> at java.net.URLClassLoader$1.run(URLClassLoader.java:368) ~[?:1.8.0_102]
> at java.net.URLClassLoader$1.run(URLClassLoader.java:362) ~[?:1.8.0_102]
> at java.security.AccessController.doPrivileged(Native Method)
> ~[?:1.8.0_102]
> at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
> ~[?:1.8.0_102]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_102]
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> ~[?:1.8.0_102]
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_102]
> at
> org.apache.velocity.runtime.log.Log4JLogChute.initAppender(Log4JLogChute.java:118)
> ~[stormjar.jar:?]
> at
> org.apache.velocity.runtime.log.Log4JLogChute.init(Log4JLogChute.java:85)
> ~[stormjar.jar:?]
> at
> org.apache.velocity.runtime.log.LogManager.createLogChute(LogManager.java:157)
> ~[stormjar.jar:?]
> at
> org.apache.velocity.runtime.log.LogManager.updateLog(LogManager.java:269)
> ~[stormjar.jar:?]
> at
> org.apache.velocity.runtime.RuntimeInstance.initializeLog(RuntimeInstance.java:871)
> ~[stormjar.jar:?]
> at
> org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:262)
> ~[stormjar.jar:?]
> at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:93)
> ~[stormjar.jar:?]
> at
> org.apache.eagle.alert.engine.publisher.email.EagleMailClient.<init>(EagleMailClient.java:57)
> ~[stormjar.jar:?]
> at
> org.apache.eagle.alert.engine.publisher.email.AlertEmailSender.run(AlertEmailSender.java:87)
> ~[stormjar.jar:?]
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> ~[?:1.8.0_102]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> ~[?:1.8.0_102]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> ~[?:1.8.0_102]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> ~[?:1.8.0_102]
> ... 1 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)