[ 
https://issues.apache.org/jira/browse/HADOOP-12191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14969758#comment-14969758
 ] 

Jason Lowe commented on HADOOP-12191:
-------------------------------------

Thanks for the comments, Samer!  Since this is already resolved and does fix 
the stated problem it would be better to file a separate improvement JIRA with 
these suggestions rather than try to address them here.

> 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
>    Affects Versions: 2.7.1
>            Reporter: Jason Lowe
>            Assignee: Brahma Reddy Battula
>             Fix For: 2.7.2
>
>         Attachments: HADOOP-12191.patch
>
>
> 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)

Reply via email to