Using Apache HBase

Apache HBase is a distributed, scalable, big data store.

For more information about Apache HBase, see the Apache HBase website.

HBase Configuration Properties

HBase configuration properties included in Big Data Service 3.1.1 or later.

Configuration Property Description
hbase-env hbase_gc_logging HBase java garbage collection logging
hbase_jmx_base HBase JMX base
hbase_thrift_opts HBase thrift options
hbase_zookeeper_opts HBase zookeeper options
hbase_jvm_opts HBase JVM options
hbase_jvm_master_opts HBase JVM master options
hbase_jvm_regionserver_opts HBase JVM regionserver options
hbase_kerberos_opts HBase options for Kerberos authentication-related configuration
hbase_kerberos_master_opts HBase master options for Kerberos authentication-related configuration
hbase_kerberos_regionserver_opts HBase regionserver options for Kerberos authentication-related configuration
hbase_master_opts_for_master_remotejmx HBase master options for if master_remotejmx is enabled
hbase_regionserver_opts_for_regionserver_remotejmx HBase master options for if regionserver_remotejmx is enabled

Running HBCK2

HBCK2 is the repair tools for Apache HBase clusters.

The syntax to run the HBCK2 repair tool is:

hbase hbck -j /usr/odh/current/hbase-client/hbase-operator-tools/hbase-hbck2-<version_number>.jar <options> COMMAND <ARGS>

Example for ODH 2.0:

hbase hbck -j /usr/odh/current/hbase-client/hbase-operator-tools/hbase-hbck2-2.4.13.jar -h 
hbase hbck -j /usr/odh/current/hbase-client/hbase-operator-tools/hbase-hbck2-2.4.13.jar 
    addFsRegionsMissingInMeta default:testtable

Example for ODH 1.0:

hbase hbck -j /usr/odh/current/hbase-client/hbase-operator-tools/hbase-hbck2-2.2.6.jar -h 
   hbase hbck -j /usr/odh/current/hbase-client/hbase-operator-tools/hbase-hbck2-2.2.6.jar 
   addFsRegionsMissingInMeta default:testtable

For more information on HBCK2 commands, see HBCK2 documentation.