Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-213

Non-static Log objects in org.apache.pig.data.* classes are inefficient

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.1.0
    • 0.1.0
    • impl
    • None
    • Patch Available

    Description

      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).

      Attachments

        1. logging.patch
          3 kB
          Vadim Geshel

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            vgeshel Vadim Geshel
            vgeshel Vadim Geshel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment