hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6712) incrementColumnValue should throw an exception if row does not exist
Date Sun, 02 Sep 2012 19:35:08 GMT

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

Lars Hofhansl commented on HBASE-6712:
--------------------------------------

If increment would not create new rows when needed, you have to use some other API to create
the row first, which would definitely be bad.

Do you have a specific use case in mind?

                
> incrementColumnValue should throw an exception if row does not exist 
> ---------------------------------------------------------------------
>
>                 Key: HBASE-6712
>                 URL: https://issues.apache.org/jira/browse/HBASE-6712
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.92.1
>            Reporter: Stefan Baritchii
>
> increment should throw an exception if a row does not exist. instead it creates the row.
checkAndIncrement may be also a solution to it but needs development.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message