O'Reilly logo

Clojure Recipes by Julian Gamble

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required