You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Brahma Reddy Battula (JIRA)" <ji...@apache.org> on 2015/07/06 19:54:05 UTC

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

     [ https://issues.apache.org/jira/browse/HADOOP-12191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brahma Reddy Battula updated HADOOP-12191:
------------------------------------------
    Status: Patch Available  (was: Open)

> 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
>            Assignee: Brahma Reddy Battula
>         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)