Skip to Content
HBase: The Definitive Guide
book

HBase: The Definitive Guide

by Lars George
September 2011
Intermediate to advanced content levelIntermediate to advanced
552 pages
16h 31m
English
O'Reilly Media, Inc.
Content preview from HBase: The Definitive Guide

Appendix C. Upgrade from Previous Releases

Upgrading HBase involves careful planning, especially when the cluster is currently in production. With the addition of rolling restarts (see Rolling Restarts), it has become much easier to update HBase with no downtime.

Note

Depending on the version of HBase you are using or upgrading to, you may need to upgrade the underlying Hadoop version first so that it matches the required version for the new version of HBase you are installing. Follow the upgrade guide found on the Hadoop website.

Upgrading to HBase 0.90.x

Depending on the versions you are upgrading from, a different set of steps might be necessary to update your existing cluster to a newer version. The following subsections address the more common update scenarios.

From 0.20.x or 0.89.x

This version of 0.90.x HBase can be started on data written by HBase 0.20.x or HBase 0.89.x, and there is no need for a migration step. HBase 0.89.x and 0.90.x do write out the names of region directories differently—they name them with an MD5 hash of the region name rather than a Jenkins hash, which means that once you have started, there is no going back to HBase 0.20.x.

Be sure to remove the hbase-default.xml file from your conf directory when you upgrade. A 0.20.x version of this file will have suboptimal configurations for HBase 0.90.x. The hbase-default.xml file is now bundled into the HBase JAR and read from there. If you would like to review the content of this file, you can find it in the src ...

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

Hadoop: The Definitive Guide

Hadoop: The Definitive Guide

Tom White
Hbase Essentials

Hbase Essentials

Nishant Garg
HBase in Action

HBase in Action

Amandeep Khurana, Nick Dimiduk

Publisher Resources

ISBN: 9781449314682Errata Page