O'Reilly logo

Learning Storm by Anand Nalya, Ankit Jain

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deploying Storm-Starter topologies on Storm-YARN

In this section, we will see how to deploy Storm-Starter topologies on Storm-YARN. Storm-Starter is a set of example topologies that comes with Storm. Perform the following steps to run the topologies on Storm-YARN:

  1. Clone the Storm-Starter project with the following commands:
    git clone https://github.com/nathanmarz/storm-starter
    cd storm-starter
    
  2. Package the topologies with the following mvn command:
    mvn package –DskipTests
    
  3. Deploy WordCountTopology on Storm-YARN with the following command:
    storm jar target/storm-starter-0.0.1-SNAPSHOT.jar storm.starter.WordCountTopology word-count-topology
    

    The following information is displayed:

    545 [main] INFO backtype.storm.StormSubmitter - Jar not uploaded to master ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required