Developing Apache HBase Applications: Basics


About this Course

This course teaches write HBase programs using Hadoop as a distributed NoSQL datastore. Discussed are the most important APIs for writing HBase programs, how to use the Java API to perform CRUD operations, use helper classes, create and delete tables, set and alter column family properties, and batch updates. This is a continuation of the topics covered in DEV 320 - HBase Data Model and Architecture and DEV 321 - HBase Schema Design.

What’s Covered in the Course

7: Java Client API Part 1
  • CRUD Operations HBase Java API: Get, Put, Delete, Scan
  • Data Flow Between Client and Server
  • Helper Classes for KeyValue, Result, ResultScanner (Scan) APIs
Lab Activities
    • Use APIs to Create an Application
8: Java Client API Part 2
  • Client-side Write Buffer
  • HTable Batch Operations checkAndPut: Atomic Put Operation, KeyValue, Result Objects
  • Atomic Put with checkAndPut
Lab Activities
    • Use HTable Batch APIs in an Application
    • Use HTable checkAndPut APIs for Row Transactions in an Application
9: Java Client API for Administrative Features
  • Create HBase Tables
  • Define Properties Using HTable Descriptor, HColumn Descriptor and HBaseAdmin
Lab Activities
    • Create HBase Tables and Define Properties Using the HBaseAdmin Java Interface