You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2016/06/29 06:56:45 UTC

[jira] [Commented] (HBASE-16143) Change MemstoreScanner constructor to accept List

    [ 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
bq.getListOfScanners
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
(v6.3.4#6332)