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. Lab activities take additional time and vary based on your system.

Prerequisites

  • 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 the on-demand course ESS 100 - Big Data Essentials
  • Completion of the on-demand course ESS 101 - Apache Hadoop Essentials
  • Completion of the on-demand course ESS 102 - MapR Converged Data Platform Essentials
  • Completion of DEV 320 – Apache HBase Data Model and Architecture
  • Completion of DEV 325 – Apache HBase Schema Design
  • Optional: Basic Hadoop and database knowledge

Certification

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

Syllabus

Lesson 7 - Java client API Part 1

  • Connect a client to HBase tables
  • Lab 7.1: Import, build, and run "lab-exercises-shopping" project
  • Define the CRUD operations
  • Lab 7.2: Insert and get data in the ShoppingCartDAO Class
  • Describe versioning
  • Lab 7.3: Delete data in the ShoppingCartDAO Class

Lesson 8 - Java API Part 2

  • Client-side write buffer
  • Perform HTable batch and list operations
  • Lab 8.2: Work with shoppingcart application Put, List, and Batch
  • Design checkAndPut operation
  • Define the KeyValue Object
  • Use the Result Object
  • Lab 8.5: Work with shoppingcart application Checkout

Lesson 9 - Java Client API for Administrative Features

  • Define table and column family properties
  • Create, alter, and delete tables
  • Define HBase API compatibility with MapR-DB
  • Lab 9.3: Working with LabAdminAPI in lab-exercises project

Curriculum

  • 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
  • Join MapR Community Discussions

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. Lab activities take additional time and vary based on your system.

Prerequisites

  • 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 the on-demand course ESS 100 - Big Data Essentials
  • Completion of the on-demand course ESS 101 - Apache Hadoop Essentials
  • Completion of the on-demand course ESS 102 - MapR Converged Data Platform Essentials
  • Completion of DEV 320 – Apache HBase Data Model and Architecture
  • Completion of DEV 325 – Apache HBase Schema Design
  • Optional: Basic Hadoop and database knowledge

Certification

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

Syllabus

Lesson 7 - Java client API Part 1

  • Connect a client to HBase tables
  • Lab 7.1: Import, build, and run "lab-exercises-shopping" project
  • Define the CRUD operations
  • Lab 7.2: Insert and get data in the ShoppingCartDAO Class
  • Describe versioning
  • Lab 7.3: Delete data in the ShoppingCartDAO Class

Lesson 8 - Java API Part 2

  • Client-side write buffer
  • Perform HTable batch and list operations
  • Lab 8.2: Work with shoppingcart application Put, List, and Batch
  • Design checkAndPut operation
  • Define the KeyValue Object
  • Use the Result Object
  • Lab 8.5: Work with shoppingcart application Checkout

Lesson 9 - Java Client API for Administrative Features

  • Define table and column family properties
  • Create, alter, and delete tables
  • Define HBase API compatibility with MapR-DB
  • Lab 9.3: Working with LabAdminAPI in lab-exercises project

Curriculum

  • 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
  • Join MapR Community Discussions