hive icon indicating copy to clipboard operation
hive copied to clipboard

HIVE-29340: Restore Hive ATSHook to populate the Tez View Queries tab

Open Aggarwal-Raghav opened this issue 2 months ago • 4 comments

This is revert of HIVE-20078

What changes were proposed in this pull request?

Check the attachements under HIVE-29340

Why are the changes needed?

Does this PR introduce any user-facing change?

Yes, Users will starts seeing rows/fields in tez-view

How was this patch tested?

On local setup

Aggarwal-Raghav avatar Nov 25 '25 17:11 Aggarwal-Raghav

Have made few minor custom changes:

  1. Added underscore in config name ATSHOOKQUEUECAPACITY
  2. removed numSparkJobs

Aggarwal-Raghav avatar Nov 25 '25 17:11 Aggarwal-Raghav

There seems to be a behaviour changes in parsing of fields in tez. For instance, in callerId the User is getting appended. In hive3 its not there. I'll investigate this and raise another PR in Hive or Tez.

Screenshot 2025-11-25 at 11 57 27 AM

Aggarwal-Raghav avatar Nov 25 '25 17:11 Aggarwal-Raghav

Regarding ATSHook, in my impression, it tends to have two issues: one is that it easily causes HS2 OOM, although some fixes were made in HIVE-15541; the other is that if the Yarn timeline server becomes unavailable, ATSHook also seems to be easily affected.

However, if ATSHook is added back as an optional hook specifically for use with Yarn, I am in favor of it. Some users still wanto to use this hook. And, adding it back would not affect the use of other hooks.

zhangbutao avatar Dec 03 '25 12:12 zhangbutao