Re: Is there any way to find Hive query to Datanucleus queries mapping

2020-02-11 Thread Chinna Rao Lalam
Thanks Zoltan for the prompt reply, I have checked the code with your insights, Yes with this call we can get the information like below. Using this data we can add a log for each HIVESql overall how much time spent in metadata operations. metadata.Hive: Time spent in each metastore function (ms

Re: Is there any way to find Hive query to Datanucleus queries mapping

2020-02-10 Thread Zoltan Haindrich
Hey Chinna! I don't think a mapping like that is easy to get...I would rather try to narrow down to a single call which consumes most of the time. There is a log message which can help you get to the most relevant metastore call: https://github.com/apache/hive/blob/0d9deba3c15038df4c64ea9b8494d