[ 
https://issues.apache.org/jira/browse/PIG-2855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy V. Ryaboy updated PIG-2855:
-----------------------------------

    Attachment: PIG-2855.patch

Attaching patch, complete with docs.

Pasting usage here:

# Use this option to turn on UDF timers. This will cause two 
# counters to be tracked for every UDF and LoadFunc in your script:
# approx_microsecs measures approximate time spent inside a UDF
# approx_invocations reports the approximate number of times the UDF was invoked
# pig.udf.profile=false
                
> 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
>         Attachments: 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

        

Reply via email to