Skip to Main Content
Accumulo
book

Accumulo

by Michael Wall, Aaron Cordova, Billie Rinaldi
July 2015
Intermediate to advanced content levelIntermediate to advanced
400 pages
13h 19m
English
O'Reilly Media, Inc.
Content preview from Accumulo

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Lossless Information Hiding in Images

Lossless Information Hiding in Images

Zhe-Ming Lu, Shi-Ze Guo
Getting Started with Storm

Getting Started with Storm

Jonathan Leibiusky, Gabriel Eisbruch, Dario Simonassi

Publisher Resources

ISBN: 9781491947098Errata PageSupplemental Content