hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11005) Remove dead code in HalfStoreFileReader#getScanner#seekBefore()
Date Thu, 17 Apr 2014 16:05:33 GMT

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

Ted Yu commented on HBASE-11005:
--------------------------------

Test failure was not related to the patch.

> Remove dead code in HalfStoreFileReader#getScanner#seekBefore()
> ---------------------------------------------------------------
>
>                 Key: HBASE-11005
>                 URL: https://issues.apache.org/jira/browse/HBASE-11005
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Gustavo Anatoly
>            Priority: Trivial
>         Attachments: HBASE-11005.patch
>
>
> Here is related code:
> {code}
>           Cell fk = new KeyValue.KeyOnlyKeyValue(getFirstKey(), 0, getFirstKey().length);
>           // This will be null when the file is empty in which we can not
>           // seekBefore to any key
>           if (fk == null)
>             return false;
> {code}
> fk wouldn't be null.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message