You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zhihong Yu (Reopened) (JIRA)" <ji...@apache.org> on 2012/04/20 01:12:41 UTC

[jira] [Reopened] (HBASE-5824) HRegion.incrementColumnValue is not used in trunk

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

Zhihong Yu reopened HBASE-5824:
-------------------------------


I can reproduce one of the test failures reported by Hadoop QA:
{code}
testConstraintFails(org.apache.hadoop.hbase.constraint.TestConstraint)  Time elapsed: 3.174 sec  <<< ERROR!
org.apache.hadoop.hbase.constraint.ConstraintException: org.apache.hadoop.hbase.constraint.ConstraintException: AllFailConstraint fails for all puts
...
Caused by: org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.hbase.constraint.ConstraintException: AllFailConstraint fails for all puts
  at org.apache.hadoop.hbase.constraint.AllFailConstraint.check(AllFailConstraint.java:29)
  at org.apache.hadoop.hbase.constraint.ConstraintProcessor.prePut(ConstraintProcessor.java:87)
  at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.prePut(RegionCoprocessorHost.java:656)
  at org.apache.hadoop.hbase.regionserver.HRegion.internalPut(HRegion.java:2434)
  at org.apache.hadoop.hbase.regionserver.HRegion.put(HRegion.java:1891)
  at org.apache.hadoop.hbase.regionserver.HRegion.put(HRegion.java:1857)
  at org.apache.hadoop.hbase.regionserver.RegionServer.mutate(RegionServer.java:523)
{code}
                
> HRegion.incrementColumnValue is not used in trunk
> -------------------------------------------------
>
>                 Key: HBASE-5824
>                 URL: https://issues.apache.org/jira/browse/HBASE-5824
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>            Assignee: Jimmy Xiang
>             Fix For: 0.96.0
>
>         Attachments: hbase-5824.patch, hbase-5824_v2.patch
>
>
> on 0.94 a call to client.HTable#incrementColumnValue will cause HRegion#incrementColumnValue.  On trunk all calls to HTable.incrementColumnValue got to HRegion#increment.
> My guess is that HTable#incrementColumnValue and HTable#increment serialize to the same thing over the wire so that the remote HRegionServer no longer knows which htable method was called.
> To repro I checked out trunk and put a break point in HRegion#incrementColumnValue and then ran TestFromClientSide.  The breakpoint wasn't hit.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira