hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1809) NPE thrown in BoundedRangeFileInputStream
Date Wed, 23 Sep 2009 00:10:16 GMT

    [ https://issues.apache.org/jira/browse/HBASE-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758505#action_12758505

stack commented on HBASE-1809:

OK. The issue is that everything takes out a read lock in store EXCEPT get.  The first stack
trace was misleading in that it was in getclosest.  When I looked at getclosest, it was taking
out the read lock so I couldn't figure it but up in HRegion#getclosest, at its tail, it makes
a call to get with the row returned by getclosest.  The second stack trace is bare about what
the issue is in that its just a pure get. 

The attached patch adds getting of a read lock to get.  It lets go of the messing I made in
the first version of the patch where I added a flag to BoundedRangeFilterInputStream.  It
was not fixing the root cause.

> 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
>            Priority: Critical
>             Fix For: 0.20.1
>         Attachments: 1809-v2.patch, 1809.patch, 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.

View raw message