Support Questions
Find answers, ask questions, and share your expertise

How to capture full HQL statements running real time in Hive

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

Accepted Solutions

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

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

Thank you @Ashutosh Mestry.