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/04/15 18:52:59 UTC

[jira] [Commented] (HADOOP-10116) fix "inconsistent synchronization" warnings in ZlibCompressor

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

Brahma Reddy Battula commented on HADOOP-10116:
-----------------------------------------------

[~cmccabe] , can I close this issue..? As part of HADOOP-10681 this got fixed...

> fix "inconsistent synchronization" warnings in ZlibCompressor
> -------------------------------------------------------------
>
>                 Key: HADOOP-10116
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10116
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>
> Fix findbugs warnings in ZlibCompressor.  I believe these were introduced by HADOOP-10047.
> {code}
> Code	Warning
> IS	Inconsistent synchronization of org.apache.hadoop.io.compress.zlib.ZlibCompressor.keepUncompressedBuf; locked 57% of time
> IS	Inconsistent synchronization of org.apache.hadoop.io.compress.zlib.ZlibCompressor.userBuf; locked 60% of time
> IS	Inconsistent synchronization of org.apache.hadoop.io.compress.zlib.ZlibCompressor.userBufLen; locked 85% of time
> IS	Inconsistent synchronization of org.apache.hadoop.io.compress.zlib.ZlibDecompressor.userBuf; locked 60% of time
> IS	Inconsistent synchronization of org.apache.hadoop.io.compress.zlib.ZlibDecompressor.userBufLen; locked 77% of time
> Dodgy Warnings
> Code	Warning
> DLS	Dead store to pos2 in org.apache.hadoop.io.compress.zlib.ZlibCompressor.put(ByteBuffer, ByteBuffer)
> DLS	Dead store to pos2 in org.apache.hadoop.io.compress.zlib.ZlibDecompressor.put(ByteBuffer, ByteBuffer)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)