You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "stack (JIRA)" <ji...@apache.org> on 2007/06/09 01:09:26 UTC

[jira] Updated: (HADOOP-1479) NPE in HStore#get if StoreFile only has keys < than passed key

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

stack updated HADOOP-1479:
--------------------------

    Attachment: hstore_npe.patch

Handle null return from MapFile.Reader#getClosest in HStore#get.

> NPE in HStore#get if StoreFile only has keys < than passed key
> --------------------------------------------------------------
>
>                 Key: HADOOP-1479
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1479
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Assignee: stack
>            Priority: Minor
>         Attachments: hstore_npe.patch
>
>
> HStore#get throws a NPE because it doesn't allow MapFile.Reader#getClosest returning null. MapFile.Reader#getClosest returns null if passed a key that is > than all keys contained in the MapFile.

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