You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/07/19 03:11:38 UTC
[jira] [Resolved] (HBASE-3467) Get doesn't find values with
negative timestamps
[ 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
(v6.2#6252)