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

Bzip2Factory is not thread safe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.1
    • 2.8.0, 2.7.2, 3.0.0-alpha1
    • io
    • None
    • Reviewed

    Description

      Bzip2Factory.isNativeBzip2Loaded is not protected from multiple threads calling it simultaneously. A thread can return false from this method despite logging the fact that was going to return true due to manipulations of the static boolean from another thread calling the same method.

      Attachments

        1. HADOOP-12191.patch
          1 kB
          Brahma Reddy Battula

        Issue Links

          Activity

            People

              brahmareddy Brahma Reddy Battula
              jlowe Jason Darrell Lowe
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: