Book Image

Real-time Analytics with Storm and Cassandra

By : Shilpi Saxena
Book Image

Real-time Analytics with Storm and Cassandra

By: Shilpi Saxena

Overview of this book

Table of Contents (19 chapters)
Real-time Analytics with Storm and Cassandra
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Executing a sample Storm topology – local mode


Before we start this section, the assumption is that you have gone through the prerequisites and installed the expected components.

WordCount topology from the Storm-starter project

To understand the components described in the previous section, let's download the Storm-starter project and execute a sample topology:

  1. The Storm-starter project can be downloaded using the following Git command:

    Linux-command-Prompt $ sudo git clone git://github.com/apache/incubator-storm.git && cd incubator-storm/examples/storm-starter
    
  2. Next, you need to import the project into your Eclipse workspace:

    1. Start Eclipse.

    2. Click on the File menu and select the Import wizard.

    3. From the Import wizard, select Existing Maven Projects.

    4. Select pom.xml in the Storm-starter project and specify it as <download-folder>/starter/incubator-storm/examples/storm-starter.

    5. Once the project has been successfully imported, the Eclipse folder structure will look like the following screenshot...