Configuring Hive to use with HBase

To use Hive with HBase, you must add the HBase service as a dependency to the Hive service in Cloudera Manager.

The following steps are applicable when both HBase and Hive are in the same cluster.
  1. Go to Cloudera Manager.
  2. Go to the Hive service.
  3. Click the Configuration tab.
  4. Select the intended HBase service. For example, HBASE-1 as dependency under HBase Service.
  5. Click Save Changes.
    Repeat steps 2 to 5 for the HBase on Tez service.
  6. Restart the Hive service.
    Restart the Hive on Tez service, when applicable.