hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15359) Simplifying Segment hierarchy
Date Wed, 02 Mar 2016 11:27:18 GMT

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

Hudson commented on HBASE-15359:
--------------------------------

FAILURE: Integrated in HBase-Trunk_matrix #750 (See [https://builds.apache.org/job/HBase-Trunk_matrix/750/])
HBASE-15359 Simplifying segment hierarchy (stack: rev dc449436662d8520a02628c438d0da665ab6da2e)
* hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MutableSegment.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ImmutableSegmentAdapter.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ImmutableSegment.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SegmentFactory.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MutableCellSetSegment.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/AbstractMemStore.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MutableCellSetSegmentScanner.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SegmentScanner.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DefaultMemStore.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/Segment.java


> Simplifying Segment hierarchy
> -----------------------------
>
>                 Key: HBASE-15359
>                 URL: https://issues.apache.org/jira/browse/HBASE-15359
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Eshcar Hillel
>            Assignee: Eshcar Hillel
>             Fix For: 2.0.0
>
>         Attachments: HBASE-14918-FIX-SEGMENT.patch, HBASE-15359-V01.patch
>
>
> Now that it is clear that no memstore segment will be implemented as an HFIle, and that
all segments store their data in some representation of CellSet (skip-list or flat), the segment
hierarchy can be much simplified.
> The attached patch includes only 3 classes in the hierarchy:
> Segment - comprises most of the state and implementation
> MutableSegment - extends API with add and rollback functionality
> ImmutableSegment - extends API with key-value scanner for snapshot
> SegmentScanner is the scanner for all types of segments. 
> In addition, the option to rollback immutable segment in the memstore is disabled.
> This code would allow us to make progress independently in the compaction subtask (HBASE-14920)
and the flat index representation subtask (HBASE-14921). It also means that the new immutable
segment can reuse the existing SegmentScanner, instead of implementing a new scanner.



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

Mime
View raw message