Impala audit entries

Atlas lists changes to metadata entities in the Audit tab in the Entity Details page.

Atlas tracks the lifecycle of each Impala entity, including its creation, update, and deletion.

To view the audit entries of an Impala entity, open the entity details page and select the Audits tab. Click the arrow next to an audit entry to show the details of the change.

When an Impala operation runs for the first time, Atlas adds an Entity Created record to the Audits tab of the impala_process entity. When you run the same operation again, such as another INSERT from the same source table into the same target table, Atlas adds an Entity Updated record to the same process. Atlas stores the details of each run in a separate impala_process_execution entity. The Users column shows the user who ran the query.

Figure 1. Impala process audit entries in the New User Interface

Audits tab of an impala_process entity for an INSERT operation in the New User Interface. The tab lists an Entity Updated record and an Entity Created record, and both records are expanded. The Entity Created record lists the operation type INSERT, the input table carrier_delay_summary, the output table delay_report, and the query text in recentQueries. The Entity Updated record lists the startTime and endTime attributes.

The Audits tab of an impala_process entity in the New User Interface. The Entity Created record lists the operation type, the input and output tables, and the text of the query in recentQueries. Atlas added the Entity Updated record when the same INSERT ran again. It lists the startTime and endTime attributes.

Figure 2. Impala process audit entries in the Classic User Interface

Audits tab of an impala_process entity for an INSERT operation in the Classic User Interface. The tab lists an Entity Updated record and an Entity Created record, and both records are expanded. The Entity Created record lists the operation type INSERT, the input table carrier_delay_summary, the output table delay_report, and the query text in recentQueries. The Entity Updated record lists the startTime and endTime attributes.

The Audits tab of an impala_process entity in the Classic User Interface. The Entity Created record lists the operation type, the input and output tables, and the text of the query in recentQueries. Atlas added the Entity Updated record when the same INSERT ran again. It lists the startTime and endTime attributes.

Impala creates tables and views in Hive Metastore (HMS), and the Atlas hook for HMS collects them as hive_table entities. Atlas records the creation of such a table under the impala user.

Figure 3. Audit entry of a table created by Impala in the New User Interface

Audits tab of the carrier_delay_summary hive_table entity in the New User Interface. The tab lists one Entity Created record by the impala user. The record is expanded and lists the technical properties of the table, its four columns, its database, and its storage descriptor.

The Audits tab of a hive_table entity that Impala created, in the New User Interface. The Entity Created record shows the impala user and lists the table properties and relationships.

Figure 4. Audit entry of a table created by Impala in the Classic User Interface

Audits tab of the carrier_delay_summary hive_table entity in the Classic User Interface. The tab lists one Entity Created record by the impala user. The record is expanded and lists the technical properties of the table, its four columns, its database, and its storage descriptor.

The Audits tab of a hive_table entity that Impala created, in the Classic User Interface. The Entity Created record shows the impala user and lists the table properties and relationships.