hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10384) Failed to increment serveral columns in one Increment
Date Tue, 21 Jan 2014 03:29:19 GMT

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

Hudson commented on HBASE-10384:
--------------------------------

FAILURE: Integrated in hbase-0.96 #264 (See [https://builds.apache.org/job/hbase-0.96/264/])
HBASE-10384 Failed to increment serveral columns in one Increment (jxiang: rev 1559857)
* /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
* /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java


> Failed to increment serveral columns in one Increment
> -----------------------------------------------------
>
>                 Key: HBASE-10384
>                 URL: https://issues.apache.org/jira/browse/HBASE-10384
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.98.0, 0.99.0, 0.96.1.1
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Blocker
>             Fix For: 0.98.0, 0.96.2, 0.99.0
>
>         Attachments: hbase-10384.patch
>
>
> We have some problem to increment several columns of a row in one increment request.
> This one works, we can get all columns incremented as expected:
> {noformat}
>       Increment inc1 = new Increment(row);
>       inc1.addColumn(cf, Bytes.toBytes("counter_A"), 1L);
>       inc1.addColumn(cf, Bytes.toBytes("counter_B"), 1L);
>       inc1.addColumn(cf, Bytes.toBytes("counter_C"), 1L);
>       inc1.addColumn(cf, Bytes.toBytes("counter_D"), 1L);
>       testTable.increment(inc1);
> {noformat}
> However, this one just increments counter_A, other columns are reset to 1 instead of
incremented:
> {noformat}
>       Increment inc1 = new Increment(row);
>       inc1.addColumn(cf, Bytes.toBytes("counter_B"), 1L);
>       inc1.addColumn(cf, Bytes.toBytes("counter_C"), 1L);
>       inc1.addColumn(cf, Bytes.toBytes("counter_A"), 1L);
>       inc1.addColumn(cf, Bytes.toBytes("counter_D"), 1L);
>       testTable.increment(inc1);
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message