hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4382) Region encoded name is hash of tablename + start key + regionid (timestamp); should include end key when hashing.
Date Thu, 13 Oct 2011 21:37:12 GMT

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

stack commented on HBASE-4382:
------------------------------

I think you are looking hashcode vs encoded name.  See http://hbase.apache.org/xref/org/apache/hadoop/hbase/HRegionInfo.html#357
                
> Region encoded name is hash of tablename + start key + regionid (timestamp); should include
end key when hashing.
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-4382
>                 URL: https://issues.apache.org/jira/browse/HBASE-4382
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: stack
>            Assignee: Alex Newman
>              Labels: noob
>
> Seems odd that region encoded name is same for regions if made in same second with same
start key tough their end keys are different.  It can happen in unit test.  Should mix in
the end key when coming up w/ the region name encoded name.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message