Hello all! I’ve been working with Storm here lately. In case you don’t know what Storm is you can check out the project on Github here: Storm, the short version is that it’s a real time distributed data processing engine. After spending considerable amounts of time getting everything to run properly on an Ubuntu 12.04 box I decided I’d post my recipe for success. So here we go:
- You’ll need to ensure that a few packages are installed first: build-essential, uuid-dev, libtool, git, autoconf, openjdk-6-jdk
- Create a JAVA_HOME variable that point the the jdk you just installed. Should be in the /usr/lib/jvm directory
- Run the following commands for installing Zero MQ:
wget http://download.zeromq.org/zeromq-2.1.7.tar.gz tar -xzf zeromq-2.1.7.tar.gz cd zeromq-2.1.7 ./configure make sudo make install
- Download JZMQ and navigate to the the src directory
git clone https://github.com/nathanmarz/jzmq.git cd jzmq cd src
- Once in the src directory run the touch command to create a file and then redefine the classpath.
touch classdist_noinst.stamp CLASSPATH=.:./.:$CLASSPATH javac -d . org/zeromq/ZMQ.java org/zeromq/ZMQException.java org/zeromq/ZMQQueue.java org/zeromq/ZMQForwarder.java org/zeromq/ZMQStreamer.java
- Navigate back to the /jzmq and run make
cd .. make sudo make install
Parts of this were stitched together from the Storm – Installing Native Dependencies and Tijun – How to build jzmq in Mac OS X Lion. Thanks guys for putting your pieces of the puzzle up I just stitched them together.