Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to capture full HQL statements running real time in Hive

avatar
Expert Contributor

Hi,

I am trying to build a script to capture lineage (Atlas) when Data moves out of Hive. In order to capture the HQL statements executed in Hive( MR / Tez) by other applications, I am looking for some API endpoint to capture real time events occurring in hive.

Thank you,

Subash

1 ACCEPTED SOLUTION

avatar
Expert Contributor

@subash sharma Have taken a look at the Hive Hook code? This should give you a good idea of the approach used. I don't know if that will be sufficient for all your needs, but it should give you a good idea on how to approach the problem.

Hope this helps.

View solution in original post

2 REPLIES 2

avatar
Expert Contributor

@subash sharma Have taken a look at the Hive Hook code? This should give you a good idea of the approach used. I don't know if that will be sufficient for all your needs, but it should give you a good idea on how to approach the problem.

Hope this helps.

avatar
Expert Contributor

Thank you @Ashutosh Mestry.