Day 1: CRUD and Table Administration

Today’s goal is to learn the nuts and bolts of working with HBase. We’ll get a local instance of HBase running in stand-alone mode, and then we’ll use the HBase shell to create and alter tables and to insert and modify data using basic commands. After that, we’ll explore how to perform some of those operations programmatically by using the HBase Java API in JRuby. Along the way, we’ll uncover some HBase architectural concepts, such as the relationship between rows, column families, columns, and values in a table.

A fully operational, production-quality HBase cluster should really consist of no fewer than five nodes, or so goes the conventional wisdom. Such a setup would be overkill for our needs. Fortunately, ...

Get Seven Databases in Seven Weeks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.