MANNING
Nick Dimiduk
Amandeep Khurana
FOREWORD BY
Michael Stack
HBase in Action
NICK DIMIDUK
AMANDEEP KHURANA
TECHNICAL EDITOR
MARK HENRY RYAN
MANNING
Shelter Island
Download from Wow! eBook <www.wowebook.com>
For online information and ordering of this and other Manning books, please visit
www.manning.com. The publisher offers discounts on this book when ordered in quantity.
For more information, please contact
Special Sales Department
Manning Publications Co.
20 Baldwin Road
PO Box 261
Shelter Island, NY 11964
Email: orders@manning.com
©2013 by Manning Publications Co. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in
any form or by means electronic, mechanical, photocopying, or otherwise, without prior written
permission of the publisher.
Many of the designations used by manufacturers and sellers to distinguish their products are
claimed as trademarks. Where those designations appear in the book, and Manning
Publications was aware of a trademark claim, the designations have been printed in initial caps
or all caps.
Recognizing the importance of preserving what has been written, it is Manning’s policy to have
the books we publish printed on acid-free paper, and we exert our best efforts to that end.
Recognizing also our responsibility to conserve the resources of our planet, Manning books are
printed on paper that is at least 15 percent recycled and processed without the use of elemental
chlorine.
Manning Publications Co. Development editors: Renae Gregoire, Susanna Kline
20 Baldwin Road Technical editor: Mark Henry Ryan
PO Box 261 Technical proofreaders: Jerry Kuch, Kristine Kuch
Shelter Island, NY 11964 Copyeditor: Tiffany Taylor
Proofreaders: Elizabeth Martin, Alyson Brener
Typesetter: Gordan Salinovic
Cover designer: Marija Tudor
ISBN 9781617290527
Printed in the United States of America
1 2 3 4 5 6 7 8 9 10 – MAL – 17 16 15 14 13 12
Download from Wow! eBook <www.wowebook.com>
iii
brief contents
PART 1 HBASE FUNDAMENTALS. ....................................................1
1 ■ Introducing HBase 3
2 ■ Getting started 21
3 ■ Distributed HBase, HDFS, and MapReduce 51
PART 2 ADVANCED CONCEPTS ......................................................83
4 ■ HBase table design 85
5 ■ Extending HBase with coprocessors 126
6 ■ Alternative HBase clients 143
PART 3 EXAMPLE APPLICATIONS .................................................179
7 ■ HBase by example: OpenTSDB 181
8 ■ Scaling GIS on HBase 203
PART 4 OPERATIONALIZING HBASE ............................................237
9 ■ Deploying HBase 239
10 ■ Operations 264
Download from Wow! eBook <www.wowebook.com>
Download from Wow! eBook <www.wowebook.com>