You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Dmitriy V. Ryaboy (JIRA)" <ji...@apache.org> on 2011/07/26 00:16:09 UTC

[jira] [Updated] (PIG-2191) Reduce amount of log spam generated by UDFs

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

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

    Attachment: PIG-2191.patch

Attaching the patch. No unit tests, since the previous tests are sufficient.

While I was in there, I changed the deprecated piggybank funcs that had this problem to be empty shells for their builtin variants.

Please review.

> Reduce amount of log spam generated by UDFs
> -------------------------------------------
>
>                 Key: PIG-2191
>                 URL: https://issues.apache.org/jira/browse/PIG-2191
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Dmitriy V. Ryaboy
>            Assignee: Dmitriy V. Ryaboy
>             Fix For: 0.10
>
>         Attachments: PIG-2191.patch
>
>
> Many builtin UDFs use log.warn instead of warn() to report warnings. This can produce an inordinate and unneeded amount of error logging. The warn() method is provided to aggregate that sort of thing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira