Book Image

Learning Storm

By : Ankit Jain, Anand Nalya
Book Image

Learning Storm

By: Ankit Jain, Anand Nalya

Overview of this book

<p>Starting with the very basics of Storm, you will learn how to set up Storm on a single machine and move on to deploying Storm on your cluster. You will understand how Kafka can be integrated with Storm using the Kafka spout.</p> <p>You will then proceed to explore the Trident abstraction tool with Storm to perform stateful stream processing, guaranteeing single message processing in every topology. You will move ahead to learn how to integrate Hadoop with Storm. Next, you will learn how to integrate Storm with other well-known Big Data technologies such as HBase, Redis, and Kafka to realize the full potential of Storm.</p> <p>Finally, you will perform in-depth case studies on Apache log processing and machine learning with a focus on Storm, and through these case studies, you will discover Storm's realm of possibilities.</p>
Table of Contents (16 chapters)
Learning Storm
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Deploying a topology on a remote Storm cluster


In this section, we will focus on how we can deploy topologies on a remote Storm cluster. We will start with the installation of a Storm client on the client machine, which can be different from the machines in the Storm cluster because submitting and deploying topologies on a remote Storm cluster requires a Storm client.

The following are the steps that need to be performed to set up a Storm client:

  1. Download the latest stable Storm release from https://storm.incubator.apache.org/downloads.html.

  2. Once you have downloaded the latest version, copy and unzip it to the client machine. Now, we set the STORM_HOME environment variable to make the installation easier.

  3. Go to the $STORM_HOME/conf directory at the client node and add the following line to the storm.yaml file:

    nimbus.host: "nimbus.host.ip"
    
  4. Also, now place the copy of the storm.yaml file located at $STORM_HOME/conf in the ~/.storm folder on the client machine.

Once the installation of the Storm...