[jira] [Comment Edited] (EAGLE-985) Upgrade hbase dependency to 1.2.5

2017-06-01 Thread Ted Yu (JIRA)

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

Ted Yu edited comment on EAGLE-985 at 6/1/17 8:31 PM:
--

Targeting 0.6 release is fine.


was (Author: yuzhih...@gmail.com):
Targeting 0.6 release is fine .

> Upgrade hbase dependency to 1.2.5
> -
>
> Key: EAGLE-985
> URL: https://issues.apache.org/jira/browse/EAGLE-985
> Project: Eagle
>  Issue Type: Improvement
>Reporter: Ted Yu
>Assignee: Ted Yu
> Fix For: v0.6.0
>
> Attachments: Screen Shot 2017-04-04 at 11.24.38 AM.png
>
>
> hbase 0.98.4 release is very old.
> There wouldn't be any new 0.98 release.
> We should upgrade to 1.2.5 which is the latest stable release.



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


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

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

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

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_r119687625
  
--- 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,org.apache.velocity.runtime.log.NullLogChute.class.getName());
--- End diff --

I believe, right way to fix this would be
```
velocityEngine.setProperty(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM_CLASS, 
org.apache.velocity.runtime.log.Log4JLogChute.class.getName());
velocityEngine.setProperty("runtime.log.logsystem.log4j.logger", 
LOG.getName());
```


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

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

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

https://github.com/apache/eagle/pull/941#discussion_r119687625
  
--- 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,org.apache.velocity.runtime.log.NullLogChute.class.getName());
--- End diff --

I believe, right way to fix this would be
```
velocityEngine.setProperty(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM_CLASS, 
org.apache.velocity.runtime.log.Log4JLogChute.class.getName());
velocityEngine.setProperty("runtime.log.logsystem.log4j.logger", 
LOG.getName());
```


---
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-1028) Using mysql instead of hbase for Apache Eagle

2017-06-01 Thread Alexandre (JIRA)

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

Alexandre commented on EAGLE-1028:
--

Hi,
I found a way to solve this issue:
You just need to set the proxy configuration in your web browser

> Using mysql instead of hbase for Apache Eagle
> -
>
> Key: EAGLE-1028
> URL: https://issues.apache.org/jira/browse/EAGLE-1028
> Project: Eagle
>  Issue Type: Bug
>  Components: Project Infrastructure
>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
>Priority: Critical
>  Labels: beginner, starter
>
> Hello,
> After successfully building eagle with "mvn clean package -DskipTests", i try 
> to connect to "localhost:9090" -> after around 60 seconds (a timeout i 
> think), web UI starts at page "Welcome for using Apache Eagle!" but my 
> database is not created.



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