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