Agreed. I have indeed made the same patch on my side. I have measured two figures percentage of runtime spent in the data.* logger instantiation.

Le 18 avr. 08 à 20:08, Vadim Geshel (JIRA) a écrit :

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

Vadim Geshel updated PIG-213:
-----------------------------

   Status: Patch Available  (was: Open)

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.



Reply via email to