MapR 4.0.x Documentation : Using the HBase Thrift Gateway

HBase Thrift Gateway includes an API and a service that accepts Thrift requests to connect to HBase tables or MapR-DB tables. Starting in version 0.94.17, the HBase Thirft Gateway can be installed as a service that is managed by Warden. When mapr-hbasethrift is installed, the warden.hbasethrift.conf file is added to the /opt/mapr/conf/conf.d directory.

This page contains the following topics:

Installing the HBase Thrift Gateway

The HBase Thrift Gateway can be installed on any node where mapr-client package or the mapr-core package is installed.

Complete the following steps to install the HBase Thrift Gateway:

  1. Run the following command to install the HBase Thrift package:
    • On CentOS / Red Hat:
      yum install mapr-hbasethrift 
    • Ubuntu: 
      apt-get install mapr-hbasethrift
  2. Run configure.sh on the node where you installed HBase Thrift package. 

After you install the HBase Thrift package and run configure.sh, Warden starts and monitors the service. It also displays the status of the Hbase Thrift service on the MapR Control System UI.

Upgrading the HBase Thrift Gateway

Complete the following steps to install the HBase Thrift Gateway:

  1. Run the following command to install the HBase Thrift package:
    • On CentOS / Red Hat:
      yum upgrade mapr-hbasethrift mapr-hbase 
    • Ubuntu: 
      apt-get install mapr-hbasethrift mapr-hbase
  2. Run  configure.sh  on the node where you upgraded the HBase Thrift package. 

Starting the HBase Thrift Service

To start the HBase thrift service, enter the following command with the name of the host where hbasethrift is running:

maprcli node services -name hbasethrift -action start -nodes <node_hostname>