Skip to Main Content
HBase Administration Cookbook
book

HBase Administration Cookbook

by Yifeng Jiang
August 2012
Intermediate to advanced content levelIntermediate to advanced
332 pages
7h 3m
English
Packt Publishing
Content preview from HBase Administration Cookbook

Importing data from MySQL via single client

The most usual case of data migration might be importing data from an existing RDBMS into HBase. For this kind of task, the most simple and straightforward way could be to fetch the data from a single client and then put it into HBase, using the HBase Put API. It works well if there is not too much data to transfer.

This recipe describes importing data from MySQL into HBase using its Put API. All the operations will be executed on a single client. MapReduce is not included in this recipe. This recipe leads you through creating an HBase table via HBase Shell, connecting to the cluster from Java, and then putting data into HBase.

Getting ready

Public data sets are an ideal data source to practice HBase ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

HBase High Performance Cookbook

HBase High Performance Cookbook

Ruchir Choudhry
Hbase Essentials

Hbase Essentials

Nishant Garg
Learning Hbase

Learning Hbase

Shashwat Shriparv

Publisher Resources

ISBN: 9781849517140Other