hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-1301) HTable.getRow() returns null if the row does no exist
Date Thu, 23 Apr 2009 16:22:30 GMT

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

stack updated HBASE-1301:
-------------------------

       Resolution: Fixed
    Fix Version/s: 0.20.0
                   0.19.2
           Status: Resolved  (was: Patch Available)

Committed branch and trunk.

Thanks for the patch Rong-en.

> HTable.getRow() returns null if the row does no exist
> -----------------------------------------------------
>
>                 Key: HBASE-1301
>                 URL: https://issues.apache.org/jira/browse/HBASE-1301
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: client, documentation
>    Affects Versions: 0.19.0, 0.19.1
>            Reporter: Rong-En Fan
>            Assignee: Rong-En Fan
>            Priority: Minor
>             Fix For: 0.19.2, 0.20.0
>
>         Attachments: 1301.patch
>
>
> The HBase API docs says when the row does not exist, getRow() returns
>     RowResult is empty if row does not exist. 
> However, in regionserver/HRegionServer.java's getRow():
>       if (result == null || result.isEmpty())
>         return null;
>       return new RowResult(row, result);
> It actually returns null. Either fix the code or the document.

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