Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A6B2811BEB for ; Fri, 27 Jun 2014 02:08:26 +0000 (UTC) Received: (qmail 21147 invoked by uid 500); 27 Jun 2014 02:08:26 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 21087 invoked by uid 500); 27 Jun 2014 02:08:26 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 21072 invoked by uid 500); 27 Jun 2014 02:08:26 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 21068 invoked by uid 99); 27 Jun 2014 02:08:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2014 02:08:26 +0000 Date: Fri, 27 Jun 2014 02:08:26 +0000 (UTC) From: "Navis (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-3628) Provide a way to use counters in Hive through UDF MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)