Skip to content

Instantly share code, notes, and snippets.

@edwardw
Created December 24, 2011 22:00
Show Gist options
  • Save edwardw/1518437 to your computer and use it in GitHub Desktop.
Save edwardw/1518437 to your computer and use it in GitHub Desktop.
Run a storm topology
$ mkdir ~/.storm
$ cp conf/storm.yaml ~/.storm
$ ...
$ bin/storm jar word-count.jar WordCountTopology

Storm is designed to be robust, e.g. being able to survive nimbus or supervisor restart. It does accomplish that, except one caveat. Say, I kill nimbus process and alter the content of storm.local.dir, in where nimbus has stored some states. Then I restart nimbus but it can't run! I guess it's because nimbus' state dir doesn't match those in zookeeper server's. By restarting zookeeper server process, everything works again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment