O'Reilly logo

Accumulo by Billie Rinaldi, Aaron Cordova, Michael Wall

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

Chapter 2. Quick Start

Now that you have a basic understanding of Accumulo, this chapter should get you up and running. We will work through a couple of different install options and then work through a few examples. The accumulo-quickstart installation should be suitable for use with examples throughout the rest of this book.

The quickest method to get started with Accumulo is to use the MiniAccumuloCluster. It is a minimal version of Accumulo that starts ZooKeeper and runs against the local filesystem instead of starting up HDFS. It provides a testing and experimentation environment that is close to that of a full-blown Accumulo installation, but without the initial configuration overhead. The MiniAccumuloCluster is great for writing automated tests and for experimenting with approaches. It will not scale to large data, but it is perfect for getting started.

The example project we will use is based on the Instamo Archetype, which is an Accumulo contrib project.

Our example includes a maven pom.xml file with populated dependencies. It also contains ShellExample, MapReduceExample, and ExampleAccumuloUnitTest classes that illustrate running different types of client code. Code run against a MiniAccumuloCluster works the same as code that runs against a full Accumulo installation.

To get started, make sure you have Java 1.7 installed and Apache Maven 3.0.4 or greater. See http://maven.apache.org/ if you need to install Maven. Now, clone the Git repository that contains all source ...

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