hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-16405) Remove byte[] based hash() APIs.
Date Wed, 17 Aug 2016 11:13:21 GMT

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

Anoop Sam John updated HBASE-16405:
    Attachment: HBASE-16405_V2.patch

Ya I missed one TODO from you. Fixed that. Thanks.
We ween ByteArrayHashKey.  We check the hash function with row key for a row get.  There create
a FirstOnRow cell will be unwanted for hash check.

> Remove byte[] based hash() APIs.
> --------------------------------
>                 Key: HBASE-16405
>                 URL: https://issues.apache.org/jira/browse/HBASE-16405
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Compaction
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: Anoop Sam John
>             Fix For: 2.0.0
>         Attachments: HBASE-16405.patch, HBASE-16405_V2.patch
> Currently the read path though it works with Cells, still does go with the assumption
that we need to copy the Cells to KeyValue's key format and then use the byte[] version of
hash() function to calculate the Bloom hash. In case of incoming cell's being KeyValue type
we try to use the KeyValue.getKey(), KeyValue.getKeyOffset() APIs. With this sub-task we will
get rid of all those and things will work with Cells. 

This message was sent by Atlassian JIRA

View raw message