hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish Thusoo <>
Subject Re: Logging MySQL queries
Date Mon, 23 May 2011 22:06:53 GMT
you will have to write a pre execute or post execute hook to do this. The Hook api is at

then specify your hook in the site.xml for hive as follows...

  <value>[name of the class that implements the interface]</value>
  <description>Post execution hooks</description>


On May 23, 2011, at 2:45 PM, Steven Wong wrote:

My Hive metastore uses MySQL. I’d like to see Hive CLI log all SQL queries that are issued
to MySQL. What config/property should I set to accomplish this?


View raw message