You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Jason Lowe (JIRA)" <ji...@apache.org> on 2015/07/06 19:22:04 UTC

[jira] [Created] (HADOOP-12191) Bzip2Factory is not thread safe

Jason Lowe created HADOOP-12191:
-----------------------------------

             Summary: Bzip2Factory is not thread safe
                 Key: HADOOP-12191
                 URL: https://issues.apache.org/jira/browse/HADOOP-12191
             Project: Hadoop Common
          Issue Type: Bug
          Components: io
            Reporter: Jason Lowe


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)