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 <jainy_gau...@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