hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thiruvel Thirumoolan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16962) Add readPoint to preCompactScannerOpen() API
Date Tue, 01 Nov 2016 19:43:59 GMT

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

Thiruvel Thirumoolan commented on HBASE-16962:
----------------------------------------------

We create a StoreScanner() in CP and pass that to our custom scanner (which we hope to open
source after sufficient testing).

Since StoreScanner needs readpoint in its constructor (introduced in HBASE-9754), I need access
to the readpt from Compactor. I took a stab at other approaches - like having map for lookup
etc - atleast in 0.98 code base. Since HBASE-15759 already added readpt to preStoreScannerOpen(),
I went with the same approach here. Let me know if you want me to pursue other approaches.

> Add readPoint to preCompactScannerOpen() API
> --------------------------------------------
>
>                 Key: HBASE-16962
>                 URL: https://issues.apache.org/jira/browse/HBASE-16962
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Thiruvel Thirumoolan
>            Assignee: Thiruvel Thirumoolan
>         Attachments: HBASE-16962.rough.patch
>
>
> Similar to HBASE-15759, I would like to add readPoint to the preCompactScannerOpen()
API.
> I have a CP where I create a StoreScanner() as part of the preCompactScannerOpen() API.
I need the readpoint which was obtained in Compactor.compact() method to be consistent.



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

Mime
View raw message