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] [Commented] (HBASE-16143) Change MemstoreScanner constructor to accept List<KeyValueScanner>
Date Wed, 29 Jun 2016 06:56:45 GMT

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

Anoop Sam John commented on HBASE-16143:

So instead of SegmentScanner, a KVScanner is being used.  SegmentScanner IS A KVScanner?
Change looks good
Nits:  Not from ur patch but I feel we can clean up
Call it getScanners()  No need to say data structure name in method name
bq.LinkedList<KeyValueScanner> list = new LinkedList<KeyValueScanner>();
Make the type as List and new ArrayList?  Dont think we need a LinkedList anyway.

> Change MemstoreScanner constructor to accept List<KeyValueScanner>
> ------------------------------------------------------------------
>                 Key: HBASE-16143
>                 URL: https://issues.apache.org/jira/browse/HBASE-16143
>             Project: HBase
>          Issue Type: Sub-task
>    Affects Versions: 2.0.0
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>            Priority: Minor
>             Fix For: 2.0.0
>         Attachments: HBASE-16143.patch
> A minor change that helps in creating a memstore that avoids the compaction process and
just allows to creates a pipeline of segments and on flush directly reads the segments in
the pipeline and flushes it out after creating a snapshot of the pipeline. Based on test results
and updated patch on HBASE-14921 (to be provided) will see how much flattening helps us.

This message was sent by Atlassian JIRA

View raw message