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] [Commented] (HADOOP-12191) Bzip2Factory is not thread safe
Date Mon, 06 Jul 2015 17:36:04 GMT

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

Brahma Reddy Battula commented on HADOOP-12191:

[~jlowe] thanks for reporting ..will Add synchronize and update the patch soon..

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

View raw message