Talking about storm, from Twitter. I happen to have done this on a brand new installation of Ubuntu 11.10, so here is everything I had to do, including the stuff that is not really specific to storm:
- cd /home/david/
- mkdir Projects
- cd Projects/
- sudo apt-get install git
- git clone git://github.com/nathanmarz/storm-starter.git ./storm-starter
- sudo apt-get install vim
- sudo vim /usr/local/bin/lein
- [paste in code from lein script and “:wq” to save & quit]
- sudo chmod +x /usr/local/bin/lein
- sudo apt-get install openjdk-6-jdk
- lein deps
- lein compile
- lein repl
- (import `storm.starter.ExclamationTopology)
- (ExclamationTopology/main nil)
I used the REPL method to run the topologies, as described by storm’s maintainer in the google group. Replace “ExclamationTopology” in those last 2 lines (on the REPL prompt) with either “WordCountTopology” or “ReachTopology” to see the other 2 examples. You can also run a topology without the REPL as it shows on the project page: java -cp `lein classpath` storm.starter.ExclamationTopology
It’s going to output a lot of stuff, very quickly. Everything I know about storm so far comes from presentation slides, but still you can comprehend some of what’s happening. It will stop on its own, I guess the spouts for these 3 examples topologies are written to end after some number of tuples.