hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathias Herberts (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-1809) NPE thrown in BoundedRangeFileInputStream
Date Tue, 01 Sep 2009 21:19:32 GMT

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

Mathias Herberts updated HBASE-1809:
------------------------------------

    Attachment: HFile-returnDecompressor.patch

While digging in the code for this issue I came across a problem in HFile$Reader.decompress.

In case an exception is thrown, the decompressor is not returned to the pool.

The attached patch fixes this by enclosing the content in a try ... finally

> NPE thrown in BoundedRangeFileInputStream
> -----------------------------------------
>
>                 Key: HBASE-1809
>                 URL: https://issues.apache.org/jira/browse/HBASE-1809
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: io
>         Environment: All
>            Reporter: Mathias Herberts
>             Fix For: 0.20.1
>
>         Attachments: HFile-returnDecompressor.patch
>
>
> NPE is thrown in BoundedRangeFileInputStream.read when attempting to synchronize on 'in'
(line 97).
> This probably means the BRFIS was created with a null FSDIS.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message