Return-Path: X-Original-To: apmail-pig-dev-archive@www.apache.org Delivered-To: apmail-pig-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 A6000DA7E for ; Fri, 3 Aug 2012 22:01:03 +0000 (UTC) Received: (qmail 97919 invoked by uid 500); 3 Aug 2012 22:01:03 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 97784 invoked by uid 500); 3 Aug 2012 22:01:03 -0000 Mailing-List: contact dev-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list dev@pig.apache.org Received: (qmail 97517 invoked by uid 500); 3 Aug 2012 22:01:02 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 97500 invoked by uid 99); 3 Aug 2012 22:01:02 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2012 22:01:02 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id B24DB14284D for ; Fri, 3 Aug 2012 22:01:02 +0000 (UTC) Date: Fri, 3 Aug 2012 22:01:02 +0000 (UTC) From: "Jonathan Coveney (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: <542555934.12263.1344031262735.JavaMail.jiratomcat@issues-vm> In-Reply-To: <370255150.4004.1343885402648.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (PIG-2855) Provide a method to measure time spent in UDFs 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/PIG-2855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428409#comment-13428409 ] Jonathan Coveney commented on PIG-2855: --------------------------------------- Love the idea. One potential issue... with POUser func, it looks like your counter group is FuncSpec#toString, which means multiple invocations of the same UDF in different parts of the code will go to the same counter. > Provide a method to measure time spent in UDFs > ---------------------------------------------- > > Key: PIG-2855 > URL: https://issues.apache.org/jira/browse/PIG-2855 > Project: Pig > Issue Type: New Feature > Reporter: Dmitriy V. Ryaboy > Assignee: Dmitriy V. Ryaboy > Attachments: PIG-2855.2.patch, PIG-2855.patch > > > When debugging slow jobs, it is often useful to know whether time is being spent in UDFs, and in which UDFs. This is easy to measure from within the framework, we should let users optionally track these metrics. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira