hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17897) StripeStoreFileManager#nonOpenRowCompare use the wrong comparison function
Date Sun, 30 Apr 2017 22:24:05 GMT

    [ https://issues.apache.org/jira/browse/HBASE-17897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15990428#comment-15990428
] 

Hudson commented on HBASE-17897:
--------------------------------

ABORTED: Integrated in Jenkins build HBase-HBASE-14614 #190 (See [https://builds.apache.org/job/HBase-HBASE-14614/190/])
HBASE-17897 StripeStoreFileManager#nonOpenRowCompare use the wrong (chia7712: rev cf3215d343d5c412735f51c68dc3686087736a86)
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStripeStoreFileManager.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StripeStoreFileManager.java


> StripeStoreFileManager#nonOpenRowCompare use the wrong comparison function
> --------------------------------------------------------------------------
>
>                 Key: HBASE-17897
>                 URL: https://issues.apache.org/jira/browse/HBASE-17897
>             Project: HBase
>          Issue Type: Sub-task
>    Affects Versions: 2.0.0
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17897.failed.patch, HBASE-17897.v0.patch, HBASE-17897.v0.patch,
HBASE-17897.v0.patch
>
>
> {noformat}
>   private final int nonOpenRowCompare(byte[] k1, byte[] k2) {
>     assert !isOpen(k1) && !isOpen(k2);
>     return cellComparator.compareRows(new KeyOnlyKeyValue(k1), k2, 0, k2.length);
>   }
> {noformat}
> The inputs aren't KeyValue format, so it is wrong to use KeyOnlyKeyValue to parse the
row.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message