[
https://issues.apache.org/jira/browse/HBASE-17897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15963951#comment-15963951
]
Chia-Ping Tsai commented on HBASE-17897:
----------------------------------------
The failed test pass locally.
Will commit it tomorrow if no objection.
> 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)