In this blog, I will publish how to install apache storm on windows platform.
–> Install zookeeper from Zookeeper. Configure and run Zookeeper with the following commands:
> copy conf\zoo_sample.cfg conf\zoo.cfg
Before running add/modify zoo.cfg with following properties:
–> Install JAVA/JDK and set JAVA_HOME in environment variables as C:\Java\jdk1.8.0_73
–> Install Apache Storm from Apache Storm and set STORM_HOME to C:\apache-storm-0.9.7 following in environment variables.
–> Install python from Python. I downloaded python 2.7.13
–> Edit the PATH environment variable to include following:
–> Edit PATHEXT environment variable to include .PY
–> Modify storm.yaml file to include following:
–> Go to STORM_HOME in command prompt and run following:
- storm nimbus
- storm supervisor
- storm ui
Go to http://localhost:8080 to verify if storm is started.
Run the following command to check if sample word count is working without any issues:
storm jar C:\apache-storm-0.9.7\examples\storm-starter\storm-starter-topologies-0.9.7.jar storm.starter.WordCountTopology WordCount -c nimbus.host=localhost