Pig
  1. Pig
  2. PIG-3050

Fix FindBugs multithreading warnings

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.11
    • Fix Version/s: 0.12.0
    • Component/s: None
    • Labels:
      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.

      1. PIG-3050.patch
        16 kB
        Cheolsoo Park

        Issue Links

          Activity

          Daniel Dai made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Cheolsoo Park made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Cheolsoo Park made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Cheolsoo Park made changes -
          Remote Link This issue links to "Review Board (Web Link)" [ 11913 ]
          Cheolsoo Park made changes -
          Field Original Value New Value
          Attachment PIG-3050.patch [ 12561332 ]
          Cheolsoo Park created issue -

            People

            • Assignee:
              Cheolsoo Park
              Reporter:
              Cheolsoo Park
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development