Book Image

Hadoop MapReduce v2 Cookbook - Second Edition: RAW

Book Image

Hadoop MapReduce v2 Cookbook - Second Edition: RAW

Overview of this book

Table of Contents (19 chapters)
Hadoop MapReduce v2 Cookbook Second Edition
Credits
About the Author
Acknowledgments
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Plotting the Hadoop MapReduce results using gnuplot


Although Hadoop MapReduce jobs can generate interesting analytics, making sense of those results and getting a detailed understanding about the data often requires us to see the overall trends in the data. The human eye is remarkably good at detecting patterns, and plotting the data often yields a deeper understanding of the data. Therefore, we often plot the results of Hadoop jobs using a plotting program.

This recipe explains how to use gnuplot, which is a free and powerful plotting program used to plot Hadoop results.

Getting ready

This recipe assumes that you have followed the previous recipe, Calculating frequency distributions and sorting using MapReduce. If you have not done this, follow this recipe. Install the gnuplot plotting program by following the instructions in http://www.gnuplot.info/.

How to do it...

The following steps show how to plot Hadoop job results using gnuplot:

  1. Download the results of the previous recipe to a local computer...