In this section, we will see how to deploy the Storm-Starter topologies on storm-yarn
. Storm-Starter is a set of example topologies that comes with Storm.
Follow these steps to run the topologies on Storm-YARN:
- Clone the
storm-starter
project:
$ git clone https://github.com/nathanmarz/storm-starter$ cd storm-starter
- Package the topologies with the following
mvn
command:
$ mvn package -DskipTests
- Deploy the topologies on
storm-yarn
with the following command:
$ storm jar target/storm-starter-0.0.1-SNAPSHOT.jar storm.starter.WordCountTopology word-cout-topology545 [main] INFO backtype.storm.StormSubmitter - Jar not uploaded to master yet. Submitting jar...558 [main] INFO backtype.storm.StormSubmitter - Uploading topology jar target/storm-starter-0.0.1-SNAPSHOT.jar to assigned location: storm-local/nimbus/inbox/stormjar-9ab704ff-29f3-4b9d-b0ac-e9e41d4399dd.jar609 [main] INFO backtype.storm.StormSubmitter - Successfully uploaded topology jar to assigned...