HBase lineage

Atlas collects lineage information for HBase data assets when HBase tables are referenced in HiveServer or Impala operations.

The Atlas lineage graph shows the input and output processes that the current entity participated in, specifically those relationships modeled as inputToProcesses and outputFromProcesses. Entities are included if they were inputs to processes that lead to the current entity or they are output from processes for which the current entity was an input.

No lineage metadata is collected directly from HBase. Atlas creates lineage for an HBase table when a Hive operation refers to the table. When you create a Hive external table that uses the HBase storage handler and sets the hbase.table.name table property, the Atlas hook for Hive creates a hive_process entity. This process links the hbase_table entity to the hive_table entity.

Figure 1. HBase lineage in the New User Interface

Lineage tab of the flight_status hbase_table entity in the New User Interface. The hbase_table is circled as the current entity. An arrow leads from it to a Hive process and on to the flight_status hive_table. From that table, two more Hive processes lead to the delayed_flights table and the v_gate_delays view.

The Lineage tab of the flight_status hbase_table entity in the New User Interface. A Hive CREATE EXTERNAL TABLE statement that uses the HBase storage handler mapped the HBase table to the flight_status Hive table. A CREATE TABLE AS SELECT statement and a CREATE VIEW statement then created the delayed_flights table and the v_gate_delays view from that table.

Figure 2. HBase lineage in the Classic User Interface

Lineage tab of the flight_status hbase_table entity in the Classic User Interface. The hbase_table is circled as the current entity. An arrow leads from it to a Hive process and on to the flight_status hive_table. From that table, two more Hive processes lead to the delayed_flights table and the v_gate_delays view.

The Lineage tab of the flight_status hbase_table entity in the Classic User Interface. A Hive CREATE EXTERNAL TABLE statement that uses the HBase storage handler mapped the HBase table to the flight_status Hive table. A CREATE TABLE AS SELECT statement and a CREATE VIEW statement then created the delayed_flights table and the v_gate_delays view from that table.