[ https://issues.apache.org/jira/browse/HIVE-3570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13478387#comment-13478387 ]
Phabricator commented on HIVE-3570: ----------------------------------- satadru has commented on the revision "HIVE-3570 [jira] Hive changes for Optr level stats". @njain : I have done the changes and added an hook. Whenever I am executing the hook from outside(ie hive cli) everything works fine. But when it is run from the "ant test -Dtestcase=..." command, the Counter object in the Operator.java coming as null. (Probable reason: the unit test is not executing the query in actual hadoop cluster, without which counters are always null). Please suggest if there is any way to get around this problem. I tried searching for unit test involving counters in Operator.java, but couldn't find. REVISION DETAIL https://reviews.facebook.net/D5985 To: njain, satadru Cc: JIRA > Add/fix facility to collect operator specific statisticsin hive + add > hash-in/hash-out counter for GroupBy Optr > --------------------------------------------------------------------------------------------------------------- > > Key: HIVE-3570 > URL: https://issues.apache.org/jira/browse/HIVE-3570 > Project: Hive > Issue Type: Improvement > Components: Statistics > Affects Versions: 0.9.0 > Reporter: Satadru Pan > Assignee: Satadru Pan > Priority: Minor > Attachments: HIVE-3570.1.patch.txt, HIVE-3570.D5985.1.patch, > HIVE-3570.D5985.2.patch > > > Requirement: Collect Operator specific stats for hive queries. Use the > counter framework available in Hive Operator.java to accomplish that. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira