You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2010/03/22 20:30:27 UTC

[jira] Created: (HBASE-2361) WALEdit broke replication scope

WALEdit broke replication scope
-------------------------------

                 Key: HBASE-2361
                 URL: https://issues.apache.org/jira/browse/HBASE-2361
             Project: Hadoop HBase
          Issue Type: Bug
            Reporter: Jean-Daniel Cryans
            Assignee: Jean-Daniel Cryans
             Fix For: 0.21.0


Before HBASE-2283, each KV had a HLogKey with a replication scope. Now a key applies to a list of KVs that spans multiple families so a single scope doesn't work anymore. Multiple possible solutions:

 - Each KV have their own scope. We already ruled that out in a previous jira since that means the scope would end up in the HFiles.
 - Store pairs of scope/KV in WALEdit instead of straight KVs.
 - Have 2 parallel lists in WALEdit, one for KVs and the other for scopes.
 - Subclass KV and add the scope there, those would be created when inserted in the WAL and would contain the KV stored in the HFiles.

I'm sure there are other solutions, discuss.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HBASE-2361) WALEdit broke replication scope

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans resolved HBASE-2361.
---------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

Committed to trunk, thanks for the review Stack!

> WALEdit broke replication scope
> -------------------------------
>
>                 Key: HBASE-2361
>                 URL: https://issues.apache.org/jira/browse/HBASE-2361
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.21.0
>
>         Attachments: HBASE-2361-2.patch, HBASE-2361-3.patch, HBASE-2361.patch
>
>
> Before HBASE-2283, each KV had a HLogKey with a replication scope. Now a key applies to a list of KVs that spans multiple families so a single scope doesn't work anymore. Multiple possible solutions:
>  - Each KV have their own scope. We already ruled that out in a previous jira since that means the scope would end up in the HFiles.
>  - Store pairs of scope/KV in WALEdit instead of straight KVs.
>  - Have 2 parallel lists in WALEdit, one for KVs and the other for scopes.
>  - Subclass KV and add the scope there, those would be created when inserted in the WAL and would contain the KV stored in the HFiles.
> I'm sure there are other solutions, discuss.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.