Localcluster - ELK Bolt Example

2016-10-09 Thread Snabel Kabiya
Hi Storm Users,

My name is Snabel, I want to use storm as a solution for processing events.
I Want to forward events from ELK to storm and add some code in storm.

I’ve been trying to run the storm-starter code:
https://github.com/apache/storm/tree/master/examples/storm-starter

using Intellij IDEA, but I keep getting error about a missing class: 
org.apache.storm.localcluster

can you please help with this? am I using the right code?
I would really appreciate your help with this


Thanks,
Snabel



org.apache.storm.localcluster

2016-10-09 Thread Snabel Kabiya
Hi Storm Users,

My name is Snabel, I want to use storm as a solution for processing events.
I Want to forward events from ELK to storm and add some code in storm.

I’ve been trying to run the storm-starter code:
https://github.com/apache/storm/tree/master/examples/storm-starter

using Intellij IDEA, but I keep getting error about a missing class: 
org.apache.storm.localcluster

can you please help with this? am I using the right code?
I would really appreciate your help with this


Thanks,
Snabel


RE: Localcluster - ELK Bolt Example

2016-10-13 Thread Snabel Kabiya
Hi Jungtaek Lim,


Thank you, I’ve tried doing that, then I went back to run Main in this Class: 
EsIndexTopology

I got the following exception:



Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/storm/topology/IRichSpout
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Class.java:264)
  at 
com.intellij.rt.execution.application.AppMain.main(AppMain.java:123)
Caused by: java.lang.ClassNotFoundException: 
org.apache.storm.topology.IRichSpout
  at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  ... 3 more


Regards,
Snabel Kabiya

From: Jungtaek Lim [mailto:kabh...@gmail.com]
Sent: Monday, October 10, 2016 6:32 AM
To: user@storm.apache.org
Subject: Re: Localcluster - ELK Bolt Example

The files which thrift generated are tricky. Please try `mvn clean install 
-DskipTests` to root of Storm directory, and back to IDEA and see it helps.

- Jungtaek Lim (HeartSaVioR)

2016년 10월 9일 (일) 오후 6:09, Snabel Kabiya 
<snabel.kab...@ruckuswireless.com<mailto:snabel.kab...@ruckuswireless.com>>님이 
작성:
Hi Storm Users,

My name is Snabel, I want to use storm as a solution for processing events.
I Want to forward events from ELK to storm and add some code in storm.

I’ve been trying to run the storm-starter code:
https://github.com/apache/storm/tree/master/examples/storm-starter

using Intellij IDEA, but I keep getting error about a missing class: 
org.apache.storm.localcluster

can you please help with this? am I using the right code?
I would really appreciate your help with this


Thanks,
Snabel



RE: Localcluster - ELK Bolt Example

2016-10-16 Thread Snabel Kabiya
Hi,

Thank you.

But that was the first thing I’ve changed…I’m still getting this error…




From: Jungtaek Lim [mailto:kabh...@gmail.com]
Sent: Friday, October 14, 2016 11:04 PM
To: user@storm.apache.org
Subject: Re: Localcluster - ELK Bolt Example

You need to check the scope of storm-core. This needs to be set to 'compile' 
for running with local, and needs be set to 'provided' for running with remote 
cluster.

2016년 10월 13일 (목) 오후 5:16, Snabel Kabiya 
<snabel.kab...@ruckuswireless.com<mailto:snabel.kab...@ruckuswireless.com>>님이 
작성:
Hi Jungtaek Lim,


Thank you, I’ve tried doing that, then I went back to run Main in this Class: 
EsIndexTopology

I got the following exception:



Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/storm/topology/IRichSpout
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Class.java:264)
  at 
com.intellij.rt.execution.application.AppMain.main(AppMain.java:123)
Caused by: java.lang.ClassNotFoundException: 
org.apache.storm.topology.IRichSpout
  at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  ... 3 more


Regards,
Snabel Kabiya

From: Jungtaek Lim [mailto:kabh...@gmail.com<mailto:kabh...@gmail.com>]
Sent: Monday, October 10, 2016 6:32 AM
To: user@storm.apache.org<mailto:user@storm.apache.org>
Subject: Re: Localcluster - ELK Bolt Example

The files which thrift generated are tricky. Please try `mvn clean install 
-DskipTests` to root of Storm directory, and back to IDEA and see it helps.

- Jungtaek Lim (HeartSaVioR)

2016년 10월 9일 (일) 오후 6:09, Snabel Kabiya 
<snabel.kab...@ruckuswireless.com<mailto:snabel.kab...@ruckuswireless.com>>님이 
작성:
Hi Storm Users,

My name is Snabel, I want to use storm as a solution for processing events.
I Want to forward events from ELK to storm and add some code in storm.

I’ve been trying to run the storm-starter code:
https://github.com/apache/storm/tree/master/examples/storm-starter

using Intellij IDEA, but I keep getting error about a missing class: 
org.apache.storm.localcluster

can you please help with this? am I using the right code?
I would really appreciate your help with this


Thanks,
Snabel



RE: Localcluster - ELK Bolt Example

2016-10-16 Thread Snabel Kabiya
Hi,

Thank you.

But that was the first thing I’ve changed…I’m still getting this error…

Regards,
Snabel Kabiya
Sr. Software Engineer
Office:   +972-9-7949007
Email: 
snabel.kab...@ruckuswireless.com<mailto:snabel.kab...@ruckuswireless.com>
[cid:31B894B1-D319-4016-BC65-A73F82C3F7B0]

Now, part of Brocade!

From: Jungtaek Lim [mailto:kabh...@gmail.com]
Sent: Friday, October 14, 2016 11:04 PM
To: user@storm.apache.org
Subject: Re: Localcluster - ELK Bolt Example

You need to check the scope of storm-core. This needs to be set to 'compile' 
for running with local, and needs be set to 'provided' for running with remote 
cluster.

2016년 10월 13일 (목) 오후 5:16, Snabel Kabiya 
<snabel.kab...@ruckuswireless.com<mailto:snabel.kab...@ruckuswireless.com>>님이 
작성:
Hi Jungtaek Lim,


Thank you, I’ve tried doing that, then I went back to run Main in this Class: 
EsIndexTopology

I got the following exception:



Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/storm/topology/IRichSpout
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Class.java:264)
  at 
com.intellij.rt.execution.application.AppMain.main(AppMain.java:123)
Caused by: java.lang.ClassNotFoundException: 
org.apache.storm.topology.IRichSpout
  at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  ... 3 more


Regards,
Snabel Kabiya

From: Jungtaek Lim [mailto:kabh...@gmail.com<mailto:kabh...@gmail.com>]
Sent: Monday, October 10, 2016 6:32 AM
To: user@storm.apache.org<mailto:user@storm.apache.org>
Subject: Re: Localcluster - ELK Bolt Example

The files which thrift generated are tricky. Please try `mvn clean install 
-DskipTests` to root of Storm directory, and back to IDEA and see it helps.

- Jungtaek Lim (HeartSaVioR)

2016년 10월 9일 (일) 오후 6:09, Snabel Kabiya 
<snabel.kab...@ruckuswireless.com<mailto:snabel.kab...@ruckuswireless.com>>님이 
작성:
Hi Storm Users,

My name is Snabel, I want to use storm as a solution for processing events.
I Want to forward events from ELK to storm and add some code in storm.

I’ve been trying to run the storm-starter code:
https://github.com/apache/storm/tree/master/examples/storm-starter

using Intellij IDEA, but I keep getting error about a missing class: 
org.apache.storm.localcluster

can you please help with this? am I using the right code?
I would really appreciate your help with this


Thanks,
Snabel