You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Cosmin Lehene (JIRA)" <ji...@apache.org> on 2015/01/13 01:44:35 UTC

[jira] [Resolved] (HBASE-3599) Result constructor assumes input is already sorted

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

Cosmin Lehene resolved HBASE-3599.
----------------------------------
    Resolution: Not a Problem

[~gwittel] this is old. closing as it's likely not a problem. Please reopen if needed.

> Result constructor assumes input is already sorted
> --------------------------------------------------
>
>                 Key: HBASE-3599
>                 URL: https://issues.apache.org/jira/browse/HBASE-3599
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.0
>            Reporter: Greg Wittel
>            Priority: Minor
>
> The Result(List<KeyValue>) and Result(KeyValue[]) constructor assume that the input is already sorted (HBASE-3073, HBASE-2753).  This works for normal use cases, but not for hand constructed Result objects (e.g. unit tests).
> I encountered this when upgrading to 0.90 that some unit tests now failed due to this.  One fix is to add some documentation on the constructors that says the input MUST be sorted.  The other would be to explicitly sort the items (not so desirable).



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