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

Fix FindBugs multithreading warnings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.11
    • 0.12.0
    • None
    • None

    Description

      There was a race condition reported when running Pig in local mode on the user mailing list. This motivated me to fix potential multithreading bugs that can be identified by FindBugs.

      FindBugs identifies the following potential bugs:

      1. Mutable static field
      2. Inconsistent synchronization
      3. Incorrect lazy initialization of static field
      4. Incorrect lazy initialization and update of static field
      5. Unsynchronized get method, synchronized set method

      There are in total 1153 warnings that FindBugs complains, but they're outside of the scope of this jira.

      Attachments

        1. PIG-3050.patch
          16 kB
          Cheolsoo Park

        Issue Links

          Activity

            People

              cheolsoo Cheolsoo Park
              cheolsoo Cheolsoo Park
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: