HiveServer relationships

The Relationships tab of a Hive entity in Atlas shows the databases, tables, columns, processes, and other entities that are related to it.

The Relationships tab shows the relationships that exist for an entity. Use this view to navigate among related entities.

Figure 1. Hive table relationships in graph view in the New User Interface

Relationships tab of the passenger_revenue hive_table entity in the New User Interface, in graph view. The hive_table node in the center connects to the db, columns, sd, outputFromProcesses, ddlQueries, and inputToProcesses nodes. The columns node shows the count 4 and the inputToProcesses node shows the count 2. A panel lists the four columns: passenger_id, tier, total_fare_usd, and trip_count.

The Relationships tab of the passenger_revenue hive_table entity in the New User Interface, in Graph view. Each node represents a relationship of the table. The number on a node shows how many entities the relationship contains. Select a node to list the related entities in a panel.

Figure 2. Hive table relationships in table view in the New User Interface

Relationships tab of the passenger_revenue hive_table entity in the New User Interface, in table view. The Columns section lists four hive_column entities. The Db section lists the hs2_lineage_demo hive_db entity. The OutputFromProcesses section lists one hive_process entity. The Sd section lists one hive_storagedesc entity. The DdlQueries section lists one hive_table_ddl entity. The InputToProcesses section lists two hive_process entities.

The same tab in Table view. The Columns section lists the four columns of the table. The Db section lists the hs2_lineage_demo database. The OutputFromProcesses section lists the process that created the table. The Sd section lists the storage description. The DdlQueries section lists the DDL entity of the CREATE TABLE AS SELECT statement. The InputToProcesses section lists two processes that read from the table: an INSERT ... SELECT statement and a view that SELECTs from the table.

Figure 3. Hive table relationships in graph view in the Classic User Interface

Relationships tab of the passenger_revenue hive_table entity in the Classic User Interface, in graph view. The hive_table node in the center connects to the inputToProcesses, ddlQueries, outputFromProcesses, db, sd, and columns nodes. The inputToProcesses node shows the count 2 and the columns node shows the count 4. A panel lists the four columns: passenger_id, tier, total_fare_usd, and trip_count.

The Relationships tab of the passenger_revenue hive_table entity in the Classic User Interface, in Graph view. Each node represents a relationship of the table. The number on a node shows how many entities the relationship contains. Select a node to list the related entities in a panel.

Figure 4. Hive table relationships in card view in the Classic User Interface

Relationships tab of the passenger_revenue hive_table entity in the Classic User Interface, in card view. The Columns card lists four hive_column entities. The Db card lists the hs2_lineage_demo hive_db entity. The OutputFromProcesses card lists one hive_process entity. The Sd card lists one hive_storagedesc entity. The DdlQueries card lists one hive_table_ddl entity. The InputToProcesses card lists two hive_process entities.

The same tab in Card view. Each card lists the entities of one relationship and shows their number in parentheses: Columns (4), Db (1), OutputFromProcesses (1), Sd (1), DdlQueries (1), and InputToProcesses (2).

Relationships tab controls

  • Switch between the Graph view and the list view. The list view is called Table in the New User Interface and Card in the Classic User Interface.
  • In the list view, turn on Show Empty Values to also show relationship sections that have no related entities.
  • In a section, use Show deleted to include or hide deleted related entities. In the Classic User Interface, the option is selected by default and the deleted entities are shown in red.
  • Use Limit to set how many related entities a section shows. The default is 100.