Accumulo: Application Development, Table Design, and Best Practices
by Aaron Cordova , Billie Rinaldi , and Michael Wall
Copyright 2015 Aaron Cordova, Billie Rinaldi, Michael Wall. All rights reserved.
Printed in the United States of America.
Published by OReilly Media, Inc. , 1005 Gravenstein Highway North, Sebastopol, CA 95472.
OReilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://safaribooksonline.com). For more information, contact our corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com .
- Editor: Marie Beaugureau
- Production Editor: Matthew Hacker
- Copyeditor: Kim Cofer
- Proofreader: Eileen Cohen
- Indexer: WordCo Indexing Services, Inc.
- Interior Designer: David Futato
- Cover Designer: Ellie Volckhausen
- Illustrators: Aaron Cordova and Billie Rinaldi
Revision History for the First Edition
- 2015-06-30: First Release
See http://oreilly.com/catalog/errata.csp?isbn=9781449374181 for release details.
The OReilly logo is a registered trademark of OReilly Media, Inc. Accumulo: Application Development, Table Design, and Best Practices, the cover image of a yak, and related trade dress are trademarks of OReilly Media, Inc.
While the publisher and the authors have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the authors disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights.
978-1-449-37418-1
[LSI]
Foreword
Apache Accumulo burst onto the database scene in 2011 and has established itself as thehighest-performance open source database in the world. This unprecedented achievementis a testament to the hard work of the many dedicated developers in the Accumulocommunity. Aaron Cordova, Billie Rinaldi, and Michael Wall have been leaders in theAccumulo community since its inception, and I can think of no one more qualified towrite the definitive book on Accumulo.
The most distinguishing features of the Accumulo database are high performance, scalability,and flexible security. This book does a thorough job of providing the key conceptsnecessary for developers to utilize these features, while also making the materialaccessible to a wide audience.
Finally, Aaron, Billie, and Michael have taken great care in creating this text and haveincorporated feedback on its development from the entire community. It has been apleasure to watch this book grow and evolve into the impressive volume that it hasbecome.
Dr. Jeremy Kepner
MIT Lincoln Laboratory
Preface
Goals and Audience
We have designed this book to gather in a single place our communitys collective knowledge of how best to use Apache Accumulo. This includes some history and background on the Accumulo project, how to configure and tune an Accumulo instance, and much about how to write applications using Accumulo. This book should help you get started with Accumulo, as well as provide a reference for those already familiar with it.
Those new to distributed applications will find an overview of why data stores such as Accumulo have become popular in recent years.People looking to write applications using Accumulo will find detailed information about its API as well as common design patterns and motivations behind various uses of Accumulo.Administrators of Accumulo will learn basic through advanced configuration options, including tips for tuning Accumulo for better performance.Even experienced Accumulo users are likely to find some information in these pages that they have not encountered before.
Conventions Used in This Book
The following typographical conventions are used in this book:
ItalicIndicates new terms, URLs, email addresses, filenames, and file extensions.
Constant width
Used for program listings, as well as within paragraphs to refer to program elements such as variable or function names, databases, data types, environment variables, statements, and keywords.
Constant width bold
Shows commands or other text that should be typed literally by the user.
Constant width italic
Shows text that should be replaced with user-supplied values or by values determined by context.
Tip
This element signifies a tip or suggestion.
Note
This element signifies a general note.
Warning
This element indicates a warning or caution.
Using Code Examples
Supplemental material (code examples, exercises, etc.) is available for download at https://github.com/accumulobook. Please also see the website we made for this book at https://accumulobook.com.
This book is here to help you get your job done. In general, if example code is offered with this book, you may use it in your programs and documentation. You do not need to contact us for permission unless youre reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing a CD-ROM of examples from OReilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your products documentation does require permission.
We appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN. For example: Accumulo: Application Development, Table Design, and Best Practices by Aaron Cordova, Billie Rinaldi, and Michael Wall (OReilly). Copyright 2015 Aaron Cordova, Billie Rinaldi, Michael Wall, 978-1-449-37418-1.
If you feel your use of code examples falls outside fair use or the permission given above, feel free to contact us at .
Safari Books Online
Note
Safari Books Online is an on-demand digital library that delivers expert content in both book and video form from the worlds leading authors in technology and business.
Technology professionals, software developers, web designers, and business and creative professionals use Safari Books Online as their primary resource for research, problem solving, learning, and certification training.
Safari Books Online offers a range of plans and pricing for enterprise, government, education, and individuals.
Members have access to thousands of books, training videos, and prepublication manuscripts in one fully searchable database from publishers like OReilly Media, Prentice Hall Professional, Addison-Wesley Professional, Microsoft Press, Sams, Que, Peachpit Press, Focal Press, Cisco Press, John Wiley & Sons, Syngress, Morgan Kaufmann, IBM Redbooks, Packt, Adobe Press, FT Press, Apress, Manning, New Riders, McGraw-Hill, Jones & Bartlett, Course Technology, and hundreds more. For more information about Safari Books Online, please visit us online.
How to Contact Us