Accessing MapR Database Binary Tables Using HBase APIs

This section describes how to access MapR Database binary tables via HBase APIs, HBase Shell, and MapReduce applications.

MapR Core extends the HBase component to handle access to MapR Database binary tables. MapR Database binary tables do not support low-level HBase API calls that are used to manipulate the state of an Apache HBase cluster.

For a full list of supported HBase Java APIs, see Creating Java Apps - Binary Tables.

For a full list of supported commands in the HBase shell, see HBase Shell for MapR Database.

To enable the HBase API and hbase shell access, install the mapr-hbase package on every node in the cluster. The HBase component of the MapR distribution for Hadoop is typically installed under/opt/mapr/hbase. Install the mapr-hbase package that provides the version that corresponds with the current MEP and MapR version you are running.

For MapR installation procedures, see Installing MapR and/or MapR Ecosystem Components.

Note: The version of HBase provided by MapR has been modified to work with MapR Database binary tables. Do not download and install stock Apache HBase on a MapR cluster that uses MapR tables.
Note: If you use fat JARs to deploy your application as a single JAR including all dependencies, be aware that the fat JAR may contain versions of HBase that override the installed MapR versions, leading to problems. Check your fat JARs for the presence of stock HBase to prevent this problem.