Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4671

Make some "flag" booleans volatile because they are set/read in different threads

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Peter Veentjer has identified the following variables as being tracked in a loop without assignments or synchronization.

      AgentControllerSocketListener.closing
      HttpConnector.stopMe
      IndexUpdateReducer.closed
      SecundaryNodeName.shouldRun
      voTask.hasNext

        Attachments

        1. 4671-0.patch
          4 kB
          Chris Douglas

          Activity

            People

            • Assignee:
              chris.douglas Chris Douglas
              Reporter:
              owen.omalley Owen O'Malley
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: