13. Introduction to Cascalog

In this chapter we’ll cover the background to Cascalog and get you started with Cascalog 2.0.

Assumptions

In this chapter we assume the following:

Image You have Leiningen set up.

Image You have a projects directory where you create new Leiningen projects.

Benefits

The benefit of Cascalog is the ability to efficiently write complex Hadoop queries with a minimal number of lines of code.

The Recipe—Code

Now that you can see the landscape, let’s get started. We’ll run some basic Cascalog queries.

1. Create a new Leiningen project ...

Get Clojure Recipes now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.