DEV 330 - Developing Apache HBase Applications: Basics

Learn how to build HBase apps in Java

Processing...
Processing...

About this Course

Targeted towards data architects and application developers who have experience with Java, the goal of this course is to learn how to write HBase programs using Hadoop as a distributed NoSQL datastore. This first course in the HBase Java API series teaches 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. Concepts are conveyed through lectures, hands-on labs and analysis of scenario.

This on-demand course is designed to be flexible to fit your schedule. Each lesson and quiz takes approximately 30 to 45 minutes to complete.

  • Option 1: Complete the course in one session, approximately 90 to 120 minutes
  • Option 2: Complete the course over a few days, 3 days of 30-45min/day

Lab activities take additional time and vary based on your system.

Certification

This course is part of the preparation for the MapR Certified HBase Developer (MCHDH) certification.

Syllabus

Lesson 1 - Java client API Part 1

  • Define the CRUD operations from the Hbase Java API and discuss when and how to use them:
  • Get, Put, Delete, Scan
  • Describe the data flow between Client & Server when using these APIs
  • Define the various helper classes for these APIs: KeyValue, Result, ResultScanner (Scan)
  • Lab on Java Client API Get, Put, Delete, Scan: Use these APIs to create an application

Lesson 2 - Java API Part 2

  • Client-side write buffer
  • HTable Batch operations
  • checkAndPut: atomic put operation
  • KeyValue, Result Objects
  • Atomic put with checkAndPut
  • Lab on Java Client API HTable Batch, checkAndPut
  • Use HTable Batch APIs in an application
  • Use HTable checkAndPut APIs for row transactions in an application

Lesson 3 - Java Client API for Administrative Features

  • HTable descriptor
  • HColumnDescriptor
  • HBaseAdmin
  • Lab create tables and define properties using the HBaseAdmin Java Interface

 

Prerequisites for Success in this Course

This course builds on DEV 320 and DEV 325 – Apache HBase Data Model and Schema Design, which gives the foundations of HBase architecture, the HBase data model, and schema design.

Review the following prerequisites carefully and decide if you are ready to succeed in this programming-oriented course. The Instructor will move forward with lab exercises, assuming that you have mastered the skills listed below.

Required:
  • Basic Linux knowledge, including familiarity with basic command-line options such a mv, cp, cd, ls, ssh, and scp
  • Access to, and the ability to use, a laptop with a terminal program installed (such as terminal on the Mac, or PuTTY and WinSCP Windows)
  • Beginner-to-intermediate fluency with Java or object-oriented programming in an IDE such as Eclipse
  • Completion of DEV 320 – Apache HBase Data Model and Architecture
  • Completion of DEV 325 – Apache HBase Schema Design
Recommended:

 

  • Completion of the on-demand course HDE 100 - Hadoop Essentials
  • Completion of the on-demand course HDE 110 - MapR Distribution Essentials
  • Optional: Basic Hadoop and database knowledge

Curriculum

  • Get Started
  • Lesson 1 - Java API Fundamental Pt 1
  • Quiz 1
  • Lesson 2 - Java API Fundamentals Pt 2
  • Quiz 2
  • Lesson 3 - Java API Admin Interface and HBase Compatibility
  • Quiz 3
  • Course Materials
  • Slide Guide (Transcript)
  • Lab Guide
  • Lab Files
  • Lab Environment Connection Guide
  • Join course discussions in the MapR Academy Community

About this Course

Targeted towards data architects and application developers who have experience with Java, the goal of this course is to learn how to write HBase programs using Hadoop as a distributed NoSQL datastore. This first course in the HBase Java API series teaches 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. Concepts are conveyed through lectures, hands-on labs and analysis of scenario.

This on-demand course is designed to be flexible to fit your schedule. Each lesson and quiz takes approximately 30 to 45 minutes to complete.

  • Option 1: Complete the course in one session, approximately 90 to 120 minutes
  • Option 2: Complete the course over a few days, 3 days of 30-45min/day

Lab activities take additional time and vary based on your system.

Certification

This course is part of the preparation for the MapR Certified HBase Developer (MCHDH) certification.

Syllabus

Lesson 1 - Java client API Part 1

  • Define the CRUD operations from the Hbase Java API and discuss when and how to use them:
  • Get, Put, Delete, Scan
  • Describe the data flow between Client & Server when using these APIs
  • Define the various helper classes for these APIs: KeyValue, Result, ResultScanner (Scan)
  • Lab on Java Client API Get, Put, Delete, Scan: Use these APIs to create an application

Lesson 2 - Java API Part 2

  • Client-side write buffer
  • HTable Batch operations
  • checkAndPut: atomic put operation
  • KeyValue, Result Objects
  • Atomic put with checkAndPut
  • Lab on Java Client API HTable Batch, checkAndPut
  • Use HTable Batch APIs in an application
  • Use HTable checkAndPut APIs for row transactions in an application

Lesson 3 - Java Client API for Administrative Features

  • HTable descriptor
  • HColumnDescriptor
  • HBaseAdmin
  • Lab create tables and define properties using the HBaseAdmin Java Interface

 

Prerequisites for Success in this Course

This course builds on DEV 320 and DEV 325 – Apache HBase Data Model and Schema Design, which gives the foundations of HBase architecture, the HBase data model, and schema design.

Review the following prerequisites carefully and decide if you are ready to succeed in this programming-oriented course. The Instructor will move forward with lab exercises, assuming that you have mastered the skills listed below.

Required:
  • Basic Linux knowledge, including familiarity with basic command-line options such a mv, cp, cd, ls, ssh, and scp
  • Access to, and the ability to use, a laptop with a terminal program installed (such as terminal on the Mac, or PuTTY and WinSCP Windows)
  • Beginner-to-intermediate fluency with Java or object-oriented programming in an IDE such as Eclipse
  • Completion of DEV 320 – Apache HBase Data Model and Architecture
  • Completion of DEV 325 – Apache HBase Schema Design
Recommended:

 

  • Completion of the on-demand course HDE 100 - Hadoop Essentials
  • Completion of the on-demand course HDE 110 - MapR Distribution Essentials
  • Optional: Basic Hadoop and database knowledge

Curriculum

  • Get Started
  • Lesson 1 - Java API Fundamental Pt 1
  • Quiz 1
  • Lesson 2 - Java API Fundamentals Pt 2
  • Quiz 2
  • Lesson 3 - Java API Admin Interface and HBase Compatibility
  • Quiz 3
  • Course Materials
  • Slide Guide (Transcript)
  • Lab Guide
  • Lab Files
  • Lab Environment Connection Guide
  • Join course discussions in the MapR Academy Community