hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathieu Poumeyrol (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-213) Non-static Log objects in org.apache.pig.data.* classes are inefficient
Date Fri, 18 Apr 2008 18:42:22 GMT

    [ https://issues.apache.org/jira/browse/PIG-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590561#action_12590561
] 

Mathieu Poumeyrol commented on PIG-213:
---------------------------------------

Yes, I actualy had a similar patch ready. I measured a 2 figures percentage of time spent
on the logger instantiation on some processes...

> Non-static Log objects in org.apache.pig.data.* classes are inefficient
> -----------------------------------------------------------------------
>
>                 Key: PIG-213
>                 URL: https://issues.apache.org/jira/browse/PIG-213
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.1.0
>            Reporter: Vadim Geshel
>            Priority: Minor
>         Attachments: logging.patch
>
>
> LogFactory.getLog called from the constructor of Tuple accounts for significant percentage
of my job's running time. The proposed fix is to make the Log fields static (which is generally
standard practice).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message