NetBackup™ for HBase Administrator's Guide

Last Published:
Product(s): NetBackup & Alta Data Protection (10.4)
  1. Introduction
    1.  
      Protecting HBase data using NetBackup
    2.  
      Backing up HBase data
    3.  
      Restoring HBase data
    4.  
      NetBackup for HBase terminologies
    5.  
      Limitations
  2. Deploying HBase plug-in for NetBackup
    1.  
      About the HBase plug-in deployment
    2.  
      Pre-requisites for installing the HBase plug-in
    3.  
      Operating system and platform compatibility
    4.  
      License for HBase plug-in for NetBackup
    5.  
      Preparing the HBase cluster
    6.  
      Best practices for deploying the HBase plug-in
    7.  
      Post installation procedures
    8.  
      Verifying the deployment of the HBase plug-in
  3. Configuring NetBackup for HBase
    1.  
      About configuring NetBackup for HBase
    2. Managing backup hosts
      1.  
        Adding a NetBackup client to the allowed list
      2.  
        Configure a NetBackup Appliance as a backup host
    3.  
      Adding HBase credentials in NetBackup
    4. Configuring the HBase plug-in using the HBase configuration file
      1.  
        Configuring NetBackup for a highly-available HBase cluster
      2.  
        Configuring communication between NetBackup and HBase clusters that have SSL enabled (HTTPS)
    5.  
      Configuration for a HBase cluster that uses Kerberos
    6.  
      Create a BigData policy for HBase clusters
    7.  
      Disaster recovery of a HBase cluster
  4. Performing backups and restores of HBase
    1. About backing up a HBase cluster
      1.  
        Prerequisites for running backup and restore operations for a HBase cluster with Kerberos authentication
      2.  
        Backing up a HBase cluster
      3.  
        Best practices for backing up a HBase cluster
    2. About restoring an HBase cluster
      1.  
        Restoring HBase data on the same HBase cluster
    3.  
      Restoring HBase data on an alternate HBase cluster
    4.  
      Restoring truncated tables
    5.  
      Best practices for restoring a HBase cluster
  5. Troubleshooting
    1.  
      About NetBackup for HBase debug logging
    2.  
      Backup fails with error 6609
    3.  
      Backup fails with error 6601
    4.  
      Backup fails with error 6623
    5.  
      Restore fails with error 2850
    6.  
      Backup fails with error 20
    7.  
      Backup fails with error 112
    8.  
      Backup operation fails with error 6654
    9.  
      NetBackup configuration and certificate files do not persist after the container-based NetBackup appliance restarts
    10.  
      Configuration file is not recovered after a disaster recovery

Preparing the HBase cluster

Perform the following tasks to prepare the HBase cluster for NetBackup:

  • Update firewall settings (port 50070 by default) so that the backup hosts can communicate with the HBase cluster.

  • Add the entries of all the HMaster and region servers to the /etc/hosts file on all the backup hosts. You must add the hostname in FQDN format.

    Or

    Add the appropriate DNS entries in the /etc/resolve.conf file.

  • Add the entries of all the backup hosts to /etc/hosts file on the HMaster and region servers.

  • Ensure that HBase service is enabled on the HBase cluster.

  • HMaster user should be able to do SSH.

  • Ensure that jdk package installed. Also ensure that, Java path is set and compatible with HBase version.

  • Ensure that jps command is working on HMaster. For more details, refer the HBase documentation.

  • Set the following environment variables for HMaster in the .bashrc file for all users configured under tpconfig of primary server.

    • export JAVA_HOME= PATH_OF_JAVA_DIR

    • export HADOOP_HOME=PATH_OF_HDFS_DIR

    • export HADOOP_MAPRED_HOME=$HADOOP_HOME

    • export HADOOP_COMMON_HOME=$HADOOP_HOME

    • export HADOOP_HDFS_HOME=$HADOOP_HOME

    • export YARN_HOME=$HADOOP_HOME

    • export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native

    • export PATH=$PATH:$HADOOP_HOME/sbin:$HADOOP_HOME/bin

    • export HADOOP_INSTALL=$HADOOP_HOME

    • export HADOOP_OPTS="$HADOOP_OPTS -Djava.library.path=$HADOOP_HOME/lib/native"

    • export HBASE_HOME=PATH OF HBASE DIR

    • PATH=$PATH:$HBASE_HOME/bin:$JAVA_HOME/bin

    • export CLASSPATH=$CLASSPATH:/usr/local/hadoop/hbase/lib/*