hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-3467) Get doesn't find values with negative timestamps
Date Sat, 19 Jul 2014 01:11:38 GMT

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

Andrew Purtell resolved HBASE-3467.

    Resolution: Invalid

Current TimeRange code will throw an IllegalArgumentException if one tries to construct one
with a negative timestamp

> Get doesn't find values with negative timestamps
> ------------------------------------------------
>                 Key: HBASE-3467
>                 URL: https://issues.apache.org/jira/browse/HBASE-3467
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.89.20100924
>            Reporter: Jim R. Wilson
> Timestamps are allowed to be negative values, since they're stored as type long.  However,
using the Get object to search for versions by setting setMaxVersions() misses them.
> I'm not sure where this code lives, but my suspicion is that the code which scans for
matching value timestamps has a min value of 0 when it should be using {{java.lang.Long.MIN_VALUE}}.

This message was sent by Atlassian JIRA

View raw message