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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.20.0
    • None
    • None
    • 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
          Christopher Douglas

        Activity

          People

            cdouglas Christopher Douglas
            omalley Owen O'Malley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: