hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ming Ma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-3981) CheckAndPut doesn't work when value == null
Date Sat, 11 Jun 2011 00:34:59 GMT

     [ https://issues.apache.org/jira/browse/HBASE-3981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ming Ma updated HBASE-3981:
---------------------------

    Summary: CheckAndPut doesn't work when value == null  (was: CheckAndPut doesn't work with
when value == null)

> CheckAndPut doesn't work when value == null
> -------------------------------------------
>
>                 Key: HBASE-3981
>                 URL: https://issues.apache.org/jira/browse/HBASE-3981
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ming Ma
>            Assignee: Ming Ma
>            Priority: Blocker
>
> When value == null, as in
>           boolean res = hTable.checkAndPut(rowId, famA, col, null, put);
> In HRegion.java,
>           int compareResult = comparator.compareTo(result.get(0).getValue());
> comparator will be null, NPE will be thrown.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message