Accessing MapR Binary Tables

This section discusses how to access MapR binary tables via HBase APIs, hbase shell, and MapReduce Jobs.

MapR has extended the HBase component to handle access to both MapR tables and Apache HBase tables. MapR tables do not support low-level HBase API calls that are used to manipulate the state of an Apache HBase cluster.

See Creating Java Apps - Binary Tables for a full list of supported HBase Java APIs.

See HBase Shell for MapR-DB for a full list of supported commands in the HBase shell.

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. To ensure that your existing HBase applications and workflow work properly, install the mapr-hbase package that provides the same version number of HBase as your existing Apache HBase.

See the Installing MapR or MEP Components for information about MapR installation procedures.

Note: The version of HBase provided by MapR has been modified to work with MapR tables in addition to Apache HBase. 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.