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

Integrating Storm with HBase


As explained in earlier chapters, Storm is meant for real-time data processing. However, in most cases, you will need to store the processed data in a data store so that you can use the stored data for further analysis and can execute the analysis query on the data stored. This section explains how you can store the data processed by Storm in HBase.

HBase is a NoSQL, multidimensional, sparse, horizontal scalable database modeled after Google BigTable. HBase is built on top Hadoop, which means it relies on Hadoop and integrates with the MapReduce framework very well. Hadoop provides the following benefits to HBase.

  • A distributed data store that runs on top of commodity hardware

  • Fault tolerance

We will assume that you have HBase installed and running on your system. You can refer to the blog on HBase installation at http://ankitasblogger.blogspot.in/2011/01/installing-hbase-in-cluster-complete.html.

We will create a sample Storm topology that explains how you can store...