You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Andrew Montalenti edited this page May 12, 2014
·
1 revision
Local Development Environment
The main thing you need when doing local development on streamparse is a virtual machine configured with Storm the way it might be configured in a real cluster.
Vagrant
The easiest option for this is to use something like Vagrant and VirtualBox.
Create a basic Vagrantfile using the Ubuntu precise64 box.
To provision the box, we recommend you use the official Java cookbook and a community-maintained simplified storm-cookbook which offers a storm::singlenode configuration.
Once this box is up and provisioned, you should be able to access the Storm UI on port 8080, and you should be able to run commands like sparse list from streamparse against it, once configured in your config.json.
Docker
It's also possible to get Storm running using storm-docker. However, we don't recommend this right now because streamparse requires having SSH access to your Storm worker nodes so that it can modify the filesystem to do things like virtualenv setup. Docker will make this a bit complicated (probably requiring the use of Volumes).