You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by gaurav jain <ja...@yahoo.com> on 2010/09/29 00:44:29 UTC

Re: Access to JobClient/Hadoop Counters

I was able to get counters by reading jobid from HiveHistory and then create a 
JobClient in a POST-EXECUTE hive hook.


Thanks!
Gaurav Jain



----- Original Message ----
From: gaurav jain <ja...@yahoo.com>
To: hive-user@hadoop.apache.org
Sent: Thu, September 16, 2010 4:41:44 PM
Subject: Access to JobClient/Hadoop Counters


Hi,




Do I have access to hadoop counters or JobClient if I am using a hive query 
either thru HIVE CLI or HIVE Java API?
                -- Looked into HIVE code base and looks like there are no public 

interfaces. ExecDriver* classes maintains and use that information locally. 

                -- I need hadoop counters for my internal reporting purposes.


Please suggest a way to accomplish the above task.


Regards,
Gaurav Jain