- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How can I create a simple topology? I want to write this program using python on the hortonworks shell.
- Labels:
-
Apache Storm
Created ‎02-04-2016 09:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm new to Storm so, please suggest me where to start typing this piece of code and methods to save and execute it on the hortonworks shell. Any suggestions to get started will be helpful. Thanks in advance for your time.
Created ‎02-04-2016 11:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
this is how I started learning Storm. Link. Feel free to try it and report any issues. Michael Noll's blog is an excellent resource on Storm and now Kafka. I built my first Hadoop cluster thanks to his site. He has some beginner posts Here
Created ‎02-05-2016 07:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@keerthana gajarajakumar before the ExlamationTopology name of topology provide full class name
com.myclass.ClassName
Created ‎02-04-2016 11:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
this is how I started learning Storm. Link. Feel free to try it and report any issues. Michael Noll's blog is an excellent resource on Storm and now Kafka. I built my first Hadoop cluster thanks to his site. He has some beginner posts Here
Created ‎02-05-2016 12:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@keerthana gajarajakumar also if you are in NYC we are having a meetup with Storm user group on the 17th, welcome!
Created ‎02-05-2016 12:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Artem Ervits -- Artem.. Once I customize the ExclamationTopology.java file to meet my needs how can I make the shell point to it on my system and execute? Any thoughts?
Created ‎02-05-2016 12:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you use LocalCluster you can execute in IntelliJ or any other IDE. Just make sure in your pom you set scope compile. When you are ready to run on Sandbox, you can scp the jar to sandbox and run the job by specifying storm jar command. Here's more info Link. Just make sure when you compile for submission to real cluster and not LocalCluster, set scope back to provided for Storm dependency. The documentation in the link I gave you is comprehensive. Read through it, it will save you a lot of time. @keerthana gajarajakumar
Created ‎02-05-2016 01:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Totally appreciate your feedback. Just noticed this reply of urs. Thanks!
Created ‎02-05-2016 01:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@keerthana gajarajakumar sure thing, let me know how it works out.
Created ‎02-05-2016 12:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the suggestion @Artem Ervits -- I wont be in NY during that time, but thanks for letting me know:)
Created ‎02-05-2016 07:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Artem Ervits -- I created the StormTest.jar file and it's saved in system within C:/.... Now how do I copy this onto the sandbox? I'm having difficulty pointing to this location from the hortonworks shell.
[root@sandbox ~]# cp C:/Users/.IdeaIC15/config/StormTest.jar /usr/hdp
cp: cannot stat `C:/Users/.IdeaIC15/config/StormTest.jar': No such file or directory
How do I fix this issue? I would like to run this jar file from the shell. Your thoughts will be helpful.
Created ‎02-05-2016 12:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@keerthana gajarajakumar here's a sample in python. Link if you notice it is in the examples folder of the Storm project.
