hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1367) get rid of thrift exception 'NotFound'
Date Mon, 04 May 2009 22:24:30 GMT

    [ https://issues.apache.org/jira/browse/HBASE-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705791#action_12705791
] 

Andrew Purtell commented on HBASE-1367:
---------------------------------------

Rather than use booleans, why not return lists of either Cell or RowResult depending on the
API, where if a cell or row is not found, an empty list is returned. I'm working on a patch
that does this now. 

> get rid of thrift exception 'NotFound'
> --------------------------------------
>
>                 Key: HBASE-1367
>                 URL: https://issues.apache.org/jira/browse/HBASE-1367
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: ryan rawson
>            Assignee: Andrew Purtell
>             Fix For: 0.20.0
>
>
> as per the discussion in HBASE-794, the use of exceptions is not good, since some clients
may disconnect.
> Return a structure like:
> { boolean: found, RowResult: result }
> where 'result' is optional if found is false.

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