Using Apache HBase to store and access data
Also available as:
PDF
loading table of contents...

Using HBase Hive integration

Before you begin to use the Hive HBase integration, complete the following steps:

  • Use the HBaseStorageHandler to register the HBase tables with the Hive metastore. You can also register the Hbase tables directly in Hive using the HiveHBaseTableInputFormat and HiveHBaseTableOutputFormat classes.
  • As part of the registration process, specify a column mapping. There are two SERDEPROPERTIES that controls the HBase column mapping to Hive:
    • Hbase.columns.mapping
    • Hbase.table.default.storage.type