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 "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2015/04/16 21:04:59 UTC

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

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

Colin Patrick McCabe resolved HADOOP-10116.
-------------------------------------------
    Resolution: Duplicate

Yeah, let's close it.

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