[GitHub] eagle pull request #943: [MINOR] Fxi sprk issues in JPM module

2017-06-06 Thread asdf2014
GitHub user asdf2014 opened a pull request:

https://github.com/apache/eagle/pull/943

[MINOR] Fxi sprk issues in JPM module

Fxi sprk issues in JPM module

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/asdf2014/eagle spark_jpm

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/943.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 #943


commit 4bb7ac8c2439a09245992f925a13b7a61979cecf
Author: asdf2014 <1571805...@qq.com>
Date:   2017-06-07T04:01:53Z

[MINOR] Fxi sprk issues in JPM module




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (EAGLE-968) using Email Notification Feature throws IncompatibleClassChangeError

2017-06-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16039588#comment-16039588
 ] 

ASF GitHub Bot commented on EAGLE-968:
--

Github user jhsenjaliya commented on a diff in the pull request:

https://github.com/apache/eagle/pull/941#discussion_r120473246
  
--- Diff: 
eagle-core/eagle-common/src/main/java/org/apache/eagle/common/mail/EagleMailClient.java
 ---
@@ -53,16 +53,18 @@ public EagleMailClient(final Properties config) {
 velocityEngine = new VelocityEngine();
 velocityEngine.setProperty(RuntimeConstants.RESOURCE_LOADER, 
"classpath");
 velocityEngine.setProperty("classpath.resource.loader.class", 
ClasspathResourceLoader.class.getName());
+
velocityEngine.setProperty(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM_CLASS, 
Log4JLogChute.class.getName());
+
velocityEngine.setProperty("runtime.log.logsystem.log4j.logger", LOG.getName());
 velocityEngine.init();
 
 config.put("mail.transport.protocol", "smtp");
 if 
(Boolean.parseBoolean(config.getProperty(AlertEmailConstants.CONF_MAIL_AUTH))) {
 session = Session.getInstance(config, new Authenticator() {
 protected PasswordAuthentication 
getPasswordAuthentication() {
 return new PasswordAuthentication(
-
config.getProperty(AlertEmailConstants.CONF_AUTH_USER),
-
config.getProperty(AlertEmailConstants.CONF_AUTH_PASSWORD)
-);
+
config.getProperty(AlertEmailConstants.CONF_AUTH_USER),
--- End diff --

pls fix this misalignment


> 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 

[GitHub] eagle pull request #941: [EAGLE-968] Fix for email issue in 0.5 eagle versio...

2017-06-06 Thread jhsenjaliya
Github user jhsenjaliya commented on a diff in the pull request:

https://github.com/apache/eagle/pull/941#discussion_r120473246
  
--- Diff: 
eagle-core/eagle-common/src/main/java/org/apache/eagle/common/mail/EagleMailClient.java
 ---
@@ -53,16 +53,18 @@ public EagleMailClient(final Properties config) {
 velocityEngine = new VelocityEngine();
 velocityEngine.setProperty(RuntimeConstants.RESOURCE_LOADER, 
"classpath");
 velocityEngine.setProperty("classpath.resource.loader.class", 
ClasspathResourceLoader.class.getName());
+
velocityEngine.setProperty(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM_CLASS, 
Log4JLogChute.class.getName());
+
velocityEngine.setProperty("runtime.log.logsystem.log4j.logger", LOG.getName());
 velocityEngine.init();
 
 config.put("mail.transport.protocol", "smtp");
 if 
(Boolean.parseBoolean(config.getProperty(AlertEmailConstants.CONF_MAIL_AUTH))) {
 session = Session.getInstance(config, new Authenticator() {
 protected PasswordAuthentication 
getPasswordAuthentication() {
 return new PasswordAuthentication(
-
config.getProperty(AlertEmailConstants.CONF_AUTH_USER),
-
config.getProperty(AlertEmailConstants.CONF_AUTH_PASSWORD)
-);
+
config.getProperty(AlertEmailConstants.CONF_AUTH_USER),
--- End diff --

pls fix this misalignment


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #941: [EAGLE-968] Fix for email issue in 0.5 eagle versio...

2017-06-06 Thread jhsenjaliya
Github user jhsenjaliya commented on a diff in the pull request:

https://github.com/apache/eagle/pull/941#discussion_r120473184
  
--- Diff: 
eagle-core/eagle-common/src/main/java/org/apache/eagle/common/mail/EagleMailClient.java
 ---
@@ -53,16 +53,18 @@ public EagleMailClient(final Properties config) {
 velocityEngine = new VelocityEngine();
 velocityEngine.setProperty(RuntimeConstants.RESOURCE_LOADER, 
"classpath");
 velocityEngine.setProperty("classpath.resource.loader.class", 
ClasspathResourceLoader.class.getName());
+
velocityEngine.setProperty(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM_CLASS, 
Log4JLogChute.class.getName());
--- End diff --

same comment as above, to use full class name.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (EAGLE-968) using Email Notification Feature throws IncompatibleClassChangeError

2017-06-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16039572#comment-16039572
 ] 

ASF GitHub Bot commented on EAGLE-968:
--

Github user jhsenjaliya commented on a diff in the pull request:

https://github.com/apache/eagle/pull/941#discussion_r120471811
  
--- Diff: 
eagle-core/eagle-alert-parent/eagle-alert/alert-engine/src/main/java/org/apache/eagle/alert/engine/publisher/email/EagleMailClient.java
 ---
@@ -54,23 +54,24 @@ public EagleMailClient(final Properties config) {
 velocityEngine = new VelocityEngine();
 velocityEngine.setProperty(RuntimeConstants.RESOURCE_LOADER, 
"classpath");
 velocityEngine.setProperty("classpath.resource.loader.class", 
ClasspathResourceLoader.class.getName());
+
velocityEngine.setProperty(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM_CLASS,Log4JLogChute.class.getName());
+
velocityEngine.setProperty("runtime.log.logsystem.log4j.logger", LOG.getName());
 velocityEngine.init();
 
 config.put("mail.transport.protocol", "smtp");
 if 
(Boolean.parseBoolean(config.getProperty(AlertEmailConstants.CONF_MAIL_AUTH))) {
 session = Session.getInstance(config, new Authenticator() {
 protected PasswordAuthentication 
getPasswordAuthentication() {
 return new PasswordAuthentication(
-
config.getProperty(AlertEmailConstants.CONF_AUTH_USER),
-
config.getProperty(AlertEmailConstants.CONF_AUTH_PASSWORD)
-);
+
config.getProperty(AlertEmailConstants.CONF_AUTH_USER),
+
config.getProperty(AlertEmailConstants.CONF_AUTH_PASSWORD)
+);
 }
 });
 } else {
 session = Session.getInstance(config, new Authenticator() {
 });
 }
-
--- End diff --

pls remove this change.


> 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]
>  

[jira] [Commented] (EAGLE-968) using Email Notification Feature throws IncompatibleClassChangeError

2017-06-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16039568#comment-16039568
 ] 

ASF GitHub Bot commented on EAGLE-968:
--

Github user jhsenjaliya commented on a diff in the pull request:

https://github.com/apache/eagle/pull/941#discussion_r120471741
  
--- Diff: 
eagle-core/eagle-alert-parent/eagle-alert/alert-engine/src/main/java/org/apache/eagle/alert/engine/publisher/email/EagleMailClient.java
 ---
@@ -54,23 +54,24 @@ public EagleMailClient(final Properties config) {
 velocityEngine = new VelocityEngine();
 velocityEngine.setProperty(RuntimeConstants.RESOURCE_LOADER, 
"classpath");
 velocityEngine.setProperty("classpath.resource.loader.class", 
ClasspathResourceLoader.class.getName());
+
velocityEngine.setProperty(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM_CLASS,Log4JLogChute.class.getName());
+
velocityEngine.setProperty("runtime.log.logsystem.log4j.logger", LOG.getName());
 velocityEngine.init();
 
 config.put("mail.transport.protocol", "smtp");
 if 
(Boolean.parseBoolean(config.getProperty(AlertEmailConstants.CONF_MAIL_AUTH))) {
 session = Session.getInstance(config, new Authenticator() {
 protected PasswordAuthentication 
getPasswordAuthentication() {
 return new PasswordAuthentication(
-
config.getProperty(AlertEmailConstants.CONF_AUTH_USER),
-
config.getProperty(AlertEmailConstants.CONF_AUTH_PASSWORD)
-);
+
config.getProperty(AlertEmailConstants.CONF_AUTH_USER),
--- End diff --

pls remove this alignment change.


> 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 

[GitHub] eagle pull request #941: [EAGLE-968] Fix for email issue in 0.5 eagle versio...

2017-06-06 Thread jhsenjaliya
Github user jhsenjaliya commented on a diff in the pull request:

https://github.com/apache/eagle/pull/941#discussion_r120471741
  
--- Diff: 
eagle-core/eagle-alert-parent/eagle-alert/alert-engine/src/main/java/org/apache/eagle/alert/engine/publisher/email/EagleMailClient.java
 ---
@@ -54,23 +54,24 @@ public EagleMailClient(final Properties config) {
 velocityEngine = new VelocityEngine();
 velocityEngine.setProperty(RuntimeConstants.RESOURCE_LOADER, 
"classpath");
 velocityEngine.setProperty("classpath.resource.loader.class", 
ClasspathResourceLoader.class.getName());
+
velocityEngine.setProperty(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM_CLASS,Log4JLogChute.class.getName());
+
velocityEngine.setProperty("runtime.log.logsystem.log4j.logger", LOG.getName());
 velocityEngine.init();
 
 config.put("mail.transport.protocol", "smtp");
 if 
(Boolean.parseBoolean(config.getProperty(AlertEmailConstants.CONF_MAIL_AUTH))) {
 session = Session.getInstance(config, new Authenticator() {
 protected PasswordAuthentication 
getPasswordAuthentication() {
 return new PasswordAuthentication(
-
config.getProperty(AlertEmailConstants.CONF_AUTH_USER),
-
config.getProperty(AlertEmailConstants.CONF_AUTH_PASSWORD)
-);
+
config.getProperty(AlertEmailConstants.CONF_AUTH_USER),
--- End diff --

pls remove this alignment change.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #941: [EAGLE-968] Fix for email issue in 0.5 eagle versio...

2017-06-06 Thread jhsenjaliya
Github user jhsenjaliya commented on a diff in the pull request:

https://github.com/apache/eagle/pull/941#discussion_r120471811
  
--- Diff: 
eagle-core/eagle-alert-parent/eagle-alert/alert-engine/src/main/java/org/apache/eagle/alert/engine/publisher/email/EagleMailClient.java
 ---
@@ -54,23 +54,24 @@ public EagleMailClient(final Properties config) {
 velocityEngine = new VelocityEngine();
 velocityEngine.setProperty(RuntimeConstants.RESOURCE_LOADER, 
"classpath");
 velocityEngine.setProperty("classpath.resource.loader.class", 
ClasspathResourceLoader.class.getName());
+
velocityEngine.setProperty(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM_CLASS,Log4JLogChute.class.getName());
+
velocityEngine.setProperty("runtime.log.logsystem.log4j.logger", LOG.getName());
 velocityEngine.init();
 
 config.put("mail.transport.protocol", "smtp");
 if 
(Boolean.parseBoolean(config.getProperty(AlertEmailConstants.CONF_MAIL_AUTH))) {
 session = Session.getInstance(config, new Authenticator() {
 protected PasswordAuthentication 
getPasswordAuthentication() {
 return new PasswordAuthentication(
-
config.getProperty(AlertEmailConstants.CONF_AUTH_USER),
-
config.getProperty(AlertEmailConstants.CONF_AUTH_PASSWORD)
-);
+
config.getProperty(AlertEmailConstants.CONF_AUTH_USER),
+
config.getProperty(AlertEmailConstants.CONF_AUTH_PASSWORD)
+);
 }
 });
 } else {
 session = Session.getInstance(config, new Authenticator() {
 });
 }
-
--- End diff --

pls remove this change.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (EAGLE-1035) Metastore not supporting with mysql in Eagle 0.5

2017-06-06 Thread Aravind Gopal (JIRA)
Aravind Gopal created EAGLE-1035:


 Summary: Metastore not supporting with mysql in Eagle 0.5
 Key: EAGLE-1035
 URL: https://issues.apache.org/jira/browse/EAGLE-1035
 Project: Eagle
  Issue Type: Bug
  Components: Core::Eagle Server
Affects Versions: v0.5.0
Reporter: Aravind Gopal


In Eagle 0.5 I configured MySQL as Metastore DB, but it is not supporting to 
store the metadata 

I can see in JDBCDataSourceConfig class the H2 inmemory RDBMs has been hard 
coded as below.

public class JDBCDataSourceConfig {
public static final String CONFIG_PREFIX = "metadata.jdbc";
private static final String DEFAULT_DRIVER_CLASS = 
org.h2.Driver.class.getName();
private static final String DEFAULT_CONNECTION_PROPERTIES = "encoding=UTF8";
private static final String DEFAULT_URL = "jdbc:h2:./eagle";
private String username;
private String password;
private String driverClassName = DEFAULT_DRIVER_CLASS;
private String connection = DEFAULT_URL;
private String database;
private String connectionProperties = DEFAULT_CONNECTION_PROPERTIES;



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (EAGLE-1034) IndexOutOfBoundsException when application "MR Metrics Aggregation" is RUNNING

2017-06-06 Thread Alexandre (JIRA)
Alexandre created EAGLE-1034:


 Summary: IndexOutOfBoundsException when application "MR Metrics 
Aggregation" is RUNNING
 Key: EAGLE-1034
 URL: https://issues.apache.org/jira/browse/EAGLE-1034
 Project: Eagle
  Issue Type: Bug
Affects Versions: v0.5.0
 Environment: Cent 0S 6.8
MySQL Community Server (GPL) 5.7.18
x86_64 for linux
eagle 0.5
hadoop 2.6.4 
Reporter: Alexandre


Hello,

while the application "MR Metrics Aggregation" is RUNNING the following 
Exception is thrown dozens of times (in eagle-server.log):

WARN  [2017-06-06 10:15:19,743] 
org.apache.eagle.jpm.aggregation.mr.MRMetricsAggregateContainer: {}
! java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
! at java.util.LinkedList.checkElementIndex(LinkedList.java:555) ~[na:1.8.0_31]
! at java.util.LinkedList.get(LinkedList.java:476) ~[na:1.8.0_31]
! at 
org.apache.eagle.jpm.aggregation.mr.MRMetricsAggregateContainer.fetchLatestJobProcessTime(MRMetricsAggregateContainer.java:75)
 ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at 
org.apache.eagle.jpm.aggregation.storm.AggregationSpout.nextTuple(AggregationSpout.java:75)
 [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at 
backtype.storm.daemon.executor$fn__3373$fn__3388$fn__3417.invoke(executor.clj:565)
 [storm-core-0.9.3.jar:0.9.3]
! at backtype.storm.util$async_loop$fn__464.invoke(util.clj:463) 
[storm-core-0.9.3.jar:0.9.3]
! at clojure.lang.AFn.run(AFn.java:24) 
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at java.lang.Thread.run(Thread.java:745) [na:1.8.0_31]

i don't know why this List is empty..

thanks in advance for your help!



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (EAGLE-1032) Add policy duplication settings in the policy definition page

2017-06-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-1032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16038782#comment-16038782
 ] 

ASF GitHub Bot commented on EAGLE-1032:
---

Github user asfgit closed the pull request at:

https://github.com/apache/eagle/pull/942


> Add policy duplication settings in the policy definition page
> -
>
> Key: EAGLE-1032
> URL: https://issues.apache.org/jira/browse/EAGLE-1032
> Project: Eagle
>  Issue Type: Improvement
>Affects Versions: v0.5.0
>Reporter: Zhao, Qingwen
>Assignee: Jilin, Jiang
>
> Add policy duplication settings in the policy definition page. 
> 1. FieldName:   dedupIntervalMin   Type: string (text) - default: 30
> e.g., 1, 2, 10
> 2. FieldName:   dedupFieldsType: array (checkbox) - default: all column 
> checked
> Description: show all stream columns of STRING type
>e.g. ["site", "component"]
> 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] eagle issue #942: Eagle-1032 Add policy duplication settings in the policy d...

2017-06-06 Thread qingwen220
Github user qingwen220 commented on the issue:

https://github.com/apache/eagle/pull/942
  
LGTM


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Updated] (EAGLE-1033) Help button not usable in web UI

2017-06-06 Thread Alexandre (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexandre updated EAGLE-1033:
-
Summary: Help button not usable in web UI  (was: help button not usable in 
web UI)

> Help button not usable in web UI
> 
>
> Key: EAGLE-1033
> URL: https://issues.apache.org/jira/browse/EAGLE-1033
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
> Environment: Cent 0S 6.8
> MySQL Community Server (GPL) 5.7.18
> x86_64 for linux
> eagle 0.5
> hadoop 2.6.4 
>Reporter: Alexandre
> Fix For: v0.5.0
>
>
> Hello,
> in the web UI of eagle when i click on the help button (in the top right 
> corner), the help menu is displayed ("How to start using eagle", "How to 
> register new site", "How to install application", "How to manage 
> application", "how to develop application", "Preview eagle metric"). But 
> nothing happen when i click on one of them.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (EAGLE-1033) help button not usable in web UI

2017-06-06 Thread Alexandre (JIRA)
Alexandre created EAGLE-1033:


 Summary: help button not usable in web UI
 Key: EAGLE-1033
 URL: https://issues.apache.org/jira/browse/EAGLE-1033
 Project: Eagle
  Issue Type: Bug
Affects Versions: v0.5.0
 Environment: Cent 0S 6.8
MySQL Community Server (GPL) 5.7.18
x86_64 for linux
eagle 0.5
hadoop 2.6.4 
Reporter: Alexandre
 Fix For: v0.5.0


Hello,
in the web UI of eagle when i click on the help button (in the top right 
corner), the help menu is displayed ("How to start using eagle", "How to 
register new site", "How to install application", "How to manage application", 
"how to develop application", "Preview eagle metric"). But nothing happen when 
i click on one of them.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Resolved] (EAGLE-1030) Unknown column 'eaglejpa_process_process.site' in 'field list' - using JDBC

2017-06-06 Thread Alexandre (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-1030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexandre resolved EAGLE-1030.
--
Resolution: Fixed

> Unknown column 'eaglejpa_process_process.site' in 'field list' - using JDBC
> ---
>
> Key: EAGLE-1030
> URL: https://issues.apache.org/jira/browse/EAGLE-1030
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
> Environment: Cent 0S 6.8
> MySQL Community Server (GPL) 5.7.18
> x86_64 for linux
> eagle 0.5
> hadoop 2.6.4
>Reporter: Alexandre
>
> Hi,
> I'm using JDBC for apache eagle and i have this exception in 
> "log/eagle-server.log": 
> ERROR [2017-06-02 08:02:45,403] org.apache.eagle.storage.jdbc.JdbcStorage: 
> Failed to query by: SELECT max(eaglejpa_process_process.currentTimeStamp), 
> eaglejpa_process_process.site FROM eaglejpa_process_process WHERE 
> (eaglejpa_process_process.timestamp>=? AND 
> eaglejpa_process_process.timestamp GROUP BY eaglejpa_process_process.site LIMIT 10 Replacements: 
> [1493798565000,1496390565000,site1]
> ! com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 
> 'eaglejpa_process_process.site' in 'field list'
> ! at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
> ~[na:1.8.0_31]
> ! at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>  ~[na:1.8.0_31]
> ! at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>  ~[na:1.8.0_31]
> ! at java.lang.reflect.Constructor.newInstance(Constructor.java:408) 
> ~[na:1.8.0_31]
> ! at com.mysql.jdbc.Util.handleNewInstance(Util.java:377) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at com.mysql.jdbc.Util.getInstance(Util.java:360) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:978) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3823) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2435) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2582) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2530) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at 
> com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1907) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at 
> com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2030) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at 
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
>  ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at org.apache.torque.util.BasePeerImpl.doSelect(BasePeerImpl.java:1535) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! ... 61 common frames omitted
> ! Causing: org.apache.torque.TorqueException: 
> com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 
> 'eaglejpa_process_process.site' in 'field list'
> ! at 
> org.apache.torque.util.ExceptionMapperImpl.toTorqueException(ExceptionMapperImpl.java:59)
>  ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at org.apache.torque.util.BasePeerImpl.doSelect(BasePeerImpl.java:1608) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at org.apache.torque.util.BasePeerImpl.doSelect(BasePeerImpl.java:1152) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at 
> org.apache.eagle.storage.jdbc.entity.impl.JdbcEntityReaderImpl.query(JdbcEntityReaderImpl.java:75)
>  ~[eagle-storage-jdbc-0.5.0-SNAPSHOT.jar:0.5.0-SNAPSHOT]
> ! ... 59 common frames omitted
> ! Causing: java.io.IOException: Failed to query by: SELECT 
> max(eaglejpa_process_process.currentTimeStamp), eaglejpa_process_process.site 
> FROM eaglejpa_process_process WHERE (eaglejpa_process_process.timestamp>=? 
> AND eaglejpa_process_process.timestamp GROUP BY eaglejpa_process_process.site LIMIT 10 Replacements: 
> [1493798565000,1496390565000,site1]
> ! at 
> org.apache.eagle.storage.jdbc.entity.impl.JdbcEntityReaderImpl.query(JdbcEntityReaderImpl.java:82)
>  ~[eagle-storage-jdbc-0.5.0-SNAPSHOT.jar:0.5.0-SNAPSHOT]
> ! at org.apache.eagle.storage.jdbc.JdbcStorage.query(JdbcStorage.java:161) 
> ~[eagle-storage-jdbc-0.5.0-SNAPSHOT.jar:0.5.0-SNAPSHOT]
> ! at 
> org.apache.eagle.storage.operation.QueryStatement.execute(QueryStatement.java:47)
>  [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at 
> 

[jira] [Commented] (EAGLE-1030) Unknown column 'eaglejpa_process_process.site' in 'field list' - using JDBC

2017-06-06 Thread Alexandre (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-1030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16038332#comment-16038332
 ] 

Alexandre commented on EAGLE-1030:
--

It's maybe not the best way to fix this issue but It seems that it works.
There is no more "Unknown column" in the logs.

> Unknown column 'eaglejpa_process_process.site' in 'field list' - using JDBC
> ---
>
> Key: EAGLE-1030
> URL: https://issues.apache.org/jira/browse/EAGLE-1030
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
> Environment: Cent 0S 6.8
> MySQL Community Server (GPL) 5.7.18
> x86_64 for linux
> eagle 0.5
> hadoop 2.6.4
>Reporter: Alexandre
>
> Hi,
> I'm using JDBC for apache eagle and i have this exception in 
> "log/eagle-server.log": 
> ERROR [2017-06-02 08:02:45,403] org.apache.eagle.storage.jdbc.JdbcStorage: 
> Failed to query by: SELECT max(eaglejpa_process_process.currentTimeStamp), 
> eaglejpa_process_process.site FROM eaglejpa_process_process WHERE 
> (eaglejpa_process_process.timestamp>=? AND 
> eaglejpa_process_process.timestamp GROUP BY eaglejpa_process_process.site LIMIT 10 Replacements: 
> [1493798565000,1496390565000,site1]
> ! com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 
> 'eaglejpa_process_process.site' in 'field list'
> ! at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
> ~[na:1.8.0_31]
> ! at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>  ~[na:1.8.0_31]
> ! at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>  ~[na:1.8.0_31]
> ! at java.lang.reflect.Constructor.newInstance(Constructor.java:408) 
> ~[na:1.8.0_31]
> ! at com.mysql.jdbc.Util.handleNewInstance(Util.java:377) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at com.mysql.jdbc.Util.getInstance(Util.java:360) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:978) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3823) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2435) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2582) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2530) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at 
> com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1907) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at 
> com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2030) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at 
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
>  ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at org.apache.torque.util.BasePeerImpl.doSelect(BasePeerImpl.java:1535) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! ... 61 common frames omitted
> ! Causing: org.apache.torque.TorqueException: 
> com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 
> 'eaglejpa_process_process.site' in 'field list'
> ! at 
> org.apache.torque.util.ExceptionMapperImpl.toTorqueException(ExceptionMapperImpl.java:59)
>  ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at org.apache.torque.util.BasePeerImpl.doSelect(BasePeerImpl.java:1608) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at org.apache.torque.util.BasePeerImpl.doSelect(BasePeerImpl.java:1152) 
> ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
> ! at 
> org.apache.eagle.storage.jdbc.entity.impl.JdbcEntityReaderImpl.query(JdbcEntityReaderImpl.java:75)
>  ~[eagle-storage-jdbc-0.5.0-SNAPSHOT.jar:0.5.0-SNAPSHOT]
> ! ... 59 common frames omitted
> ! Causing: java.io.IOException: Failed to query by: SELECT 
> max(eaglejpa_process_process.currentTimeStamp), eaglejpa_process_process.site 
> FROM eaglejpa_process_process WHERE (eaglejpa_process_process.timestamp>=? 
> AND eaglejpa_process_process.timestamp GROUP BY eaglejpa_process_process.site LIMIT 10 Replacements: 
> [1493798565000,1496390565000,site1]
> ! at 
> org.apache.eagle.storage.jdbc.entity.impl.JdbcEntityReaderImpl.query(JdbcEntityReaderImpl.java:82)
>  ~[eagle-storage-jdbc-0.5.0-SNAPSHOT.jar:0.5.0-SNAPSHOT]
> ! at org.apache.eagle.storage.jdbc.JdbcStorage.query(JdbcStorage.java:161) 
> ~[eagle-storage-jdbc-0.5.0-SNAPSHOT.jar:0.5.0-SNAPSHOT]
> ! at 
> org.apache.eagle.storage.operation.QueryStatement.execute(QueryStatement.java:47)
> 

[GitHub] eagle pull request #941: [EAGLE-968] Fix for email issue in 0.5 eagle versio...

2017-06-06 Thread rushikesavareddy
Github user rushikesavareddy commented on a diff in the pull request:

https://github.com/apache/eagle/pull/941#discussion_r120271788
  
--- Diff: 
eagle-core/eagle-alert-parent/eagle-alert/alert-engine/src/main/java/org/apache/eagle/alert/engine/publisher/email/EagleMailClient.java
 ---
@@ -25,7 +25,7 @@
 import org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
-
--- End diff --

@jhsenjaliya done


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #941: [EAGLE-968] Fix for email issue in 0.5 eagle versio...

2017-06-06 Thread rushikesavareddy
Github user rushikesavareddy commented on a diff in the pull request:

https://github.com/apache/eagle/pull/941#discussion_r120271781
  
--- Diff: 
eagle-core/eagle-alert-parent/eagle-alert/alert-engine/src/main/java/org/apache/eagle/alert/engine/publisher/email/EagleMailClient.java
 ---
@@ -54,6 +54,8 @@ public EagleMailClient(final Properties config) {
 velocityEngine = new VelocityEngine();
 velocityEngine.setProperty(RuntimeConstants.RESOURCE_LOADER, 
"classpath");
 velocityEngine.setProperty("classpath.resource.loader.class", 
ClasspathResourceLoader.class.getName());
+ 
velocityEngine.setProperty(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM_CLASS,Log4JLogChute.class.getName());
--- End diff --

@jhsenjaliya incorporated


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (EAGLE-968) using Email Notification Feature throws IncompatibleClassChangeError

2017-06-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16038255#comment-16038255
 ] 

ASF GitHub Bot commented on EAGLE-968:
--

Github user rushikesavareddy commented on a diff in the pull request:

https://github.com/apache/eagle/pull/941#discussion_r120271788
  
--- Diff: 
eagle-core/eagle-alert-parent/eagle-alert/alert-engine/src/main/java/org/apache/eagle/alert/engine/publisher/email/EagleMailClient.java
 ---
@@ -25,7 +25,7 @@
 import org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
-
--- End diff --

@jhsenjaliya done


> 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 
>