E-book details

HBase Administration Cookbook. Master HBase configuration and administration for optimum database performance with this book and

HBase Administration Cookbook. Master HBase configuration and administration for optimum database performance with this book and

Yifeng Jiang

Ebook
As an Open Source distributed big data store, HBase scales to billions of rows, with millions of columns and sits on top of the clusters of commodity machines. If you are looking for a way to store and access a huge amount of data in real-time, then look no further than HBase.HBase Administration Cookbook provides practical examples and simple step-by-step instructions for you to administrate HBase with ease. The recipes cover a wide range of processes for managing a fully distributed, highly available HBase cluster on the cloud. Working with such a huge amount of data means that an organized and manageable process is key and this book will help you to achieve that.The recipes in this practical cookbook start from setting up a fully distributed HBase cluster and moving data into it. You will learn how to use all of the tools for day-to-day administration tasks as well as for efficiently managing and monitoring the cluster to achieve the best performance possible. Understanding the relationship between Hadoop and HBase will allow you to get the best out of HBase so the book will show you how to set up Hadoop clusters, configure Hadoop to cooperate with HBase, and tune its performance.
  • HBase Administration Cookbook
    • Table of Contents
    • HBase Administration Cookbook
    • Credits
    • About the Author
    • Acknowledgement
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. Setting Up HBase Cluster
      • Introduction
      • Quick start
        • Getting ready
        • How to do it...
        • How it works...
      • Getting ready on Amazon EC2
        • Getting ready
        • How to do it...
          • How it works...
      • Setting up Hadoop
        • Getting ready
        • How to do it...
        • How it works...
      • Setting up ZooKeeper
        • Getting ready
        • How to do it...
        • How it works...
        • Theres more...
      • Changing the kernel settings
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Setting up HBase
        • Getting ready
        • How to do it...
        • How it works...
      • Basic Hadoop/ZooKeeper/HBase configurations
        • How to do it...
          • How it works...
          • See also
      • Setting up multiple High Availability (HA) masters
        • Getting ready
        • How to do it...
          • Install and configure Heartbeat and Pacemaker
          • Create and install a NameNode resource agent
          • Configure highly available NameNode
          • Start DataNode, HBase cluster, and backup HBase master
        • How it works...
        • There's more...
    • 2. Data Migration
      • Introduction
      • Importing data from MySQL via single client
        • Getting ready
        • How to do it...
        • How it works...
      • Importing data from TSV files using the bulk load tool
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Writing your own MapReduce job to import data
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
          • Generating HFile files in MapReduce
          • Important configurations affecting data migration
        • See also
      • Precreating regions before moving data into HBase
        • Getting ready
        • How to do it...
        • How it works...
        • See also
    • 3. Using Administration Tools
      • Introduction
      • HBase Master web UI
        • Getting ready
        • How to do it...
        • How it works...
      • Using HBase Shell to manage tables
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using HBase Shell to access data in HBase
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Using HBase Shell to manage the cluster
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Executing Java methods from HBase Shell
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Row counter
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • WAL toolmanually splitting and dumping WALs
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • HFile toolviewing textualized HFile content
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • HBase hbckchecking the consistency of an HBase cluster
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Hive on HBasequerying HBase using a SQL-like language
        • Getting ready
        • How to do it...
        • How it works...
    • 4. Backing Up and Restoring HBase Data
      • Introduction
      • Full shutdown backup using distcp
        • Getting ready
        • How to do it...
        • How it works...
      • Using CopyTable to copy data from one table to another
        • Getting ready
        • How to do it...
        • How it works...
      • Exporting an HBase table to dump files on HDFS
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Restoring HBase data by importing dump files from HDFS
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Backing up NameNode metadata
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Backing up region starting keys
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Cluster replication
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
    • 5. Monitoring and Diagnosis
      • Introduction
      • Showing the disk utilization of HBase tables
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Setting up Ganglia to monitor an HBase cluster
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • OpenTSDBusing HBase to monitor an HBase cluster
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Setting up Nagios to monitor HBase processes
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using Nagios to check Hadoop/HBase logs
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Simple scripts to report the status of the cluster
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Hot regionwrite diagnosis
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
    • 6. Maintenance and Security
      • Introduction
      • Enabling HBase RPC DEBUG-level logging
        • Getting ready
        • How to do it...
          • How it works...
          • There's more...
      • Graceful node decommissioning
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Adding nodes to the cluster
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Rolling restart
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Simple script for managing HBase processes
        • Getting ready
        • How to do it...
        • How it works...
      • Simple script for making deployment easier
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Kerberos authentication for Hadoop and HBase
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Configuring HDFS security with Kerberos
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • HBase security configuration
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
    • 7. Troubleshooting
      • Introduction
      • Troubleshooting tools
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Handling the XceiverCount error
        • Getting ready
        • How to do it...
        • How it works...
      • Handling the "too many open files" error
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Handling the "unable to create new native thread" error
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Handling the "HBase ignores HDFS client configuration" issue
        • Getting ready
        • How to do it...
        • How it works...
      • Handling the ZooKeeper client connection error
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Handling the ZooKeeper session expired error
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Handling the HBase startup error on EC2
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
    • 8. Basic Performance Tuning
      • Introduction
      • Setting up Hadoop to spread disk I/O
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Using network topology script to make Hadoop rack-aware
        • Getting ready
        • How to do it...
        • How it works...
      • Mounting disks with noatime and nodiratime
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Setting vm.swappiness to 0 to avoid swap
        • Getting ready
        • How it works...
        • See also
      • Java GC and HBase heap settings
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Using compression
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Managing compactions
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Managing a region split
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
    • 9. Advanced Configurations and Tuning
      • Introduction
      • Benchmarking HBase cluster with YCSB
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Increasing region server handler count
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Precreating regions using your own algorithm
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Avoiding update blocking on write-heavy clusters
        • Getting ready
        • How to do it...
        • How it works...
        • See also
      • Tuning memory size for MemStores
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
        • See also
      • Client-side tuning for low latency systems
        • Getting ready
        • How to do it...
          • How it works...
          • There's more...
      • Configuring block cache for column families
        • Getting ready
        • How to do it...
          • How it works...
          • There's more...
          • See also
        • Increasing block cache size on read-heavy clusters
          • Getting ready
          • How to do it...
          • How it works...
          • See also
      • Client side scanner setting
        • Getting ready
        • How to do it...
          • How it works...
          • There's more...
          • See also
      • Tuning block size to improve seek performance
        • Getting ready
        • How to do it...
          • How it works...
          • There's more...
          • See also
      • Enabling Bloom Filter to improve the overall throughput
        • Getting ready
        • How to do it...
          • How it works...
          • There's more...
    • Index
  • Title: HBase Administration Cookbook. Master HBase configuration and administration for optimum database performance with this book and
  • Author: Yifeng Jiang
  • Original title: HBase Administration Cookbook. Master HBase configuration and administration for optimum database performance with this book and ebook
  • ISBN: 9781849517157, 9781849517157
  • Date of issue: 2012-08-17
  • Format: Ebook
  • Item ID: e_3cc3
  • Publisher: Packt Publishing