hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12191) Bzip2Factory is not thread safe
Date Mon, 06 Jul 2015 17:54:05 GMT

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

Brahma Reddy Battula updated HADOOP-12191:
------------------------------------------
    Attachment: HADOOP-12191.patch

> 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)

Mime
View raw message