You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Harsh J Chouraria (JIRA)" <ji...@apache.org> on 2011/04/23 11:28:05 UTC
[jira] [Commented] (HBASE-3670) Fix error handling in get(List
gets)
[ https://issues.apache.org/jira/browse/HBASE-3670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023539#comment-13023539 ]
Harsh J Chouraria commented on HBASE-3670:
------------------------------------------
The other batch(...) method states that it would put nulls AND throw an exception. But it doesn't seem to be in use anywhere now. Shall I update the used batch API to reflect the one that's unused-but-correct?
> Fix error handling in get(List<Get> gets)
> -----------------------------------------
>
> Key: HBASE-3670
> URL: https://issues.apache.org/jira/browse/HBASE-3670
> Project: HBase
> Issue Type: Bug
> Components: client
> Affects Versions: 0.92.0
> Reporter: Lars George
> Fix For: 0.92.0
>
>
> See HBASE-3634 for details. The get(List<Get> gets) call needs to catch (or rather use a try/finally) the exception thrown by batch() and copy the Result instances over and return it. If that is not intended then we need to fix the JavaDoc in HTableInterface to reflect the new behavior.
> In general it seems to make sense to check the various methods (list based put, get, delete compared to batch) and agree on the correct behavior.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira