Skip to content

ADH-5827: Use raw Hive query id in Tez caller context#57

Merged
iamlapa merged 1 commit into
develop/4.3.0/4.3.0.1from
bugfix/ADH-5827
Jun 2, 2026
Merged

ADH-5827: Use raw Hive query id in Tez caller context#57
iamlapa merged 1 commit into
develop/4.3.0/4.3.0.1from
bugfix/ADH-5827

Conversation

@iamlapa

@iamlapa iamlapa commented Jun 2, 2026

Copy link
Copy Markdown

Tez UI resolves Hive query details by matching the Tez callerId with the HIVE_QUERY_ID entity emitted by ATSHook. HIVE-26789 appended the user name to caller context for audit logging, but applying the same format to the Tez DAG callerId breaks that lookup.
Keep the user-enriched caller context for Hadoop audit logging paths and pass the raw query id to Tez. Add a regression test for the Tez caller context

Tez UI resolves Hive query details by matching the Tez callerId with the HIVE_QUERY_ID entity emitted by ATSHook. HIVE-26789 appended the user name to caller context for audit logging, but applying the same format to the Tez DAG callerId breaks that lookup.

Keep the user-enriched caller context for Hadoop audit logging paths and pass the raw query id to Tez. Add a regression test for the Tez caller context.
@iamlapa iamlapa requested a review from Asmoday June 2, 2026 12:28
@iamlapa iamlapa force-pushed the bugfix/ADH-5827 branch from b301dab to 8e8dc5d Compare June 2, 2026 12:32
@iamlapa iamlapa merged commit ebcaacf into develop/4.3.0/4.3.0.1 Jun 2, 2026
1 check passed
@iamlapa iamlapa deleted the bugfix/ADH-5827 branch June 2, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants