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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.