Veritas NetBackup for HBase Administrator's Guide
- Introduction
- Installing and deploying HBase plug-in for NetBackup
- Configuring NetBackup for HBase
- Managing backup hosts
- Configuring the HBase plug-in using the HBase configuration file
- Configuring NetBackup policies for HBase plug-in
- Performing backups and restores of HBase
- Troubleshooting
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 HMaster 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.Ensure that HBase service is enabled on the HBase cluster.
HMaster user should be able to do SSH
Set the following environment variables for Hmaster in the
.bashrc
fileexport 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/*