[ https://issues.apache.org/jira/browse/HIVE-3628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14045439#comment-14045439 ]
Navis commented on HIVE-3628: ----------------------------- You can get MapredContext by MapredContext.get(). It will give you JobConf, whch can be used to access any file or distributed cache. > Provide a way to use counters in Hive through UDF > ------------------------------------------------- > > Key: HIVE-3628 > URL: https://issues.apache.org/jira/browse/HIVE-3628 > Project: Hive > Issue Type: Improvement > Components: UDF > Reporter: Viji > Assignee: Navis > Priority: Minor > Fix For: 0.11.0 > > Attachments: HIVE-3628.D8007.1.patch, HIVE-3628.D8007.2.patch, > HIVE-3628.D8007.3.patch, HIVE-3628.D8007.4.patch, HIVE-3628.D8007.5.patch, > HIVE-3628.D8007.6.patch > > > Currently it is not possible to generate counters through UDF. We should > support this. > Pig currently allows this. -- This message was sent by Atlassian JIRA (v6.2#6252)