You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/10/02 02:53:25 UTC

[jira] [Commented] (HBASE-1212) merge tool expects regions all have different sequence ids

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

Hudson commented on HBASE-1212:
-------------------------------

FAILURE: Integrated in HBase-0.94-security #306 (See [https://builds.apache.org/job/HBase-0.94-security/306/])
HBASE-9504 Backport HBASE-1212 to 0.94 - merge tool expects regions all have different sequence ids (Jean-Marc Spaggiari) (larsh: rev 1528280)
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java


> merge tool expects regions all have different sequence ids
> ----------------------------------------------------------
>
>                 Key: HBASE-1212
>                 URL: https://issues.apache.org/jira/browse/HBASE-1212
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: Jean-Marc Spaggiari
>             Fix For: 0.95.1
>
>         Attachments: failure.log, HBASE-1212.patch, HBASE-1212-v2.patch, HBASE-1212-v3-trunk.patch
>
>
> Currently merging two regions, the merge tool will compare their sequence ids.  If same, it will decrement one.  It needs to do this because on region open, files are keyed by their sequenceid; if two the same, one will erase the other.
> Well, with the move to the aggregating hfile format, the sequenceid is written when the file is created and its no longer written into an aside file but as metadata on to the end of the file.  Changing the sequenceid is no longer an option.
> This issue is about figuring a solution for the rare case where two store files have same sequence id AND we want to merge the two regions.



--
This message was sent by Atlassian JIRA
(v6.1#6144)