hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-19437) Wrap the null result from postAppend/postIncrement
Date Wed, 06 Dec 2017 02:59:00 GMT
Chia-Ping Tsai created HBASE-19437:

             Summary: Wrap the null result from postAppend/postIncrement 
                 Key: HBASE-19437
                 URL: https://issues.apache.org/jira/browse/HBASE-19437
             Project: HBase
          Issue Type: Bug
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai

The null from postAppend/postIncrement sparks inconsistent behavior. The Table#append and
#increment can handle the null result but the batch operation throws IllegalStateException.

We should wrap the null from postAppend/postIncrement to empty result since cp user should
throw IOException rather than return null if they intend to say something is broken.

This message was sent by Atlassian JIRA

View raw message