How to run sample Storm topology

In HDP distribution storm ships jar storm-starter-topologies-1.2.1.3.4.1.1-4.jar which can be different in your environment according to your version

The jar can be located in the folder /usr/hdf/3.4.1.1-4/storm/external/storm-starter/

To submit the sample topology you can run below command

storm jar storm-starter-topologies-1.2.1.3.4.1.1-4.jar org.apache.storm.starter.WordCountTopology pankaj.txt -c nimbus.host=c3198-node2.squadron.support.hortonworks.com

Leave a Comment