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

Andrew Purtell updated HBASE-15698:
-----------------------------------
    Status: Open  (was: Patch Available)

The new test in the V3 patch fails for me on every branch from master to 0.98. 

{noformat}
Running org.apache.hadoop.hbase.coprocessor.TestIncrementTimeRange
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.69 sec <<< 
FAILURE! - in org.apache.hadoop.hbase.coprocessor.TestIncrementTimeRange
testHTableInterfaceMethods(org.apache.hadoop.hbase.coprocessor.TestIncrementTimeRange)
  Time elapsed: 4.019 sec  <<< FAILURE!
org.junit.internal.ArrayComparisonFailure: arrays first differed at element 
[7]; expected:<15> but was:<13>
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.failNotEquals(Assert.java:834)
        at org.junit.Assert.assertEquals(Assert.java:118)
        at org.junit.Assert.assertEquals(Assert.java:144)
        at 
org.junit.internal.ExactComparisonCriteria.assertElementsEqual(ExactComparisonCriteria.java:8)
        at 
org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:53)
        at org.junit.Assert.internalArrayEquals(Assert.java:532)
        at org.junit.Assert.assertArrayEquals(Assert.java:341)
        at org.junit.Assert.assertArrayEquals(Assert.java:352)
        at 
org.apache.hadoop.hbase.coprocessor.TestIncrementTimeRange.checkRowValue(TestIncrementTimeRange.java:183)
        at 
org.apache.hadoop.hbase.coprocessor.TestIncrementTimeRange.checkHTableInterfaceMethods(TestIncrementTim
Failed tests: 
  
TestIncrementTimeRange.testHTableInterfaceMethods:145->checkHTableInterfaceMethods:174->checkRowValue:183
 arrays first differed at element [7]; expected:<15> but was:<13>
{noformat}


> Increment TimeRange not serialized to server
> --------------------------------------------
>
>                 Key: HBASE-15698
>                 URL: https://issues.apache.org/jira/browse/HBASE-15698
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.2.0, 1.3.0
>            Reporter: James Taylor
>            Assignee: Ted Yu
>            Priority: Blocker
>              Labels: phoenix
>             Fix For: 1.3.0, 1.4.0, 1.2.2, 0.98.20, 1.1.6
>
>         Attachments: 15698-suggest.txt, 15698.v1.txt, 15698.v2.txt, 
> 15698.v3.txt, HBASE-15698.1.patch
>
>
> Before HBase-1.2, the Increment TimeRange set on the client was serialized 
> over to the server. As of HBase 1.2, this appears to no longer be true, as my 
> preIncrement coprocessor always gets HConstants.LATEST_TIMESTAMP as the value 
> of increment.getTimeRange().getMax() regardless of what the client has 
> specified.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to