hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12191) Bzip2Factory is not thread safe
Date Tue, 14 Jul 2015 11:46:08 GMT

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

Hudson commented on HADOOP-12191:
---------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk #986 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/986/])
HADOOP-12191. Bzip2Factory is not thread safe. Contributed by Brahma Reddy Battula. (ozawa:
rev 4084eaf94347042d9b8cb1e86ba831036621dfdd)
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/bzip2/Bzip2Factory.java
* hadoop-common-project/hadoop-common/CHANGES.txt


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

Mime
View raw message