Chapter 6. Big Data Analysis

In this chapter, we will cover:

  • Counting distinct IPs in weblog data using MapReduce and Combiners
  • Using Hive date UDFs to transform and sort event dates from geographic event data
  • Using Hive to build a per-month report of fatalities over geographic event data
  • Implementing a custom UDF in Hive to help validate source reliability over geographic event data
  • Marking the longest period of non-violence using Hive MAP/REDUCE operators and Python
  • Calculating the cosine similarity of Artists in the Audioscrobbler dataset using Pig
  • Trim outliers from the Audioscrobbler dataset using Pig and datafu

Introduction

Learning to apply Apache Hive, Pig, and MapReduce to solve the specific problems you are faced with can be difficult. The recipes in this chapter present a few big data problems and provide solutions that show how to tackle them. You will notice that the questions we ask of the data are not incredibly complicated, but you will require a different approach when dealing with a large volume of data. Even though the sample datasets in the recipes are small, you will find that the code is still very applicable to bigger problem spaces distributed over large Hadoop clusters.

The analytic questions in this chapter are designed to highlight many of the more powerful features of the various tools. You will find many of these features and operators useful as you begin solving your own problems.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.227.9