hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-4402) Retaining locality after restart broken
Date Wed, 14 Sep 2011 07:20:09 GMT
Retaining locality after restart broken
---------------------------------------

                 Key: HBASE-4402
                 URL: https://issues.apache.org/jira/browse/HBASE-4402
             Project: HBase
          Issue Type: Bug
          Components: master
    Affects Versions: 0.92.0
            Reporter: Todd Lipcon
            Priority: Blocker
             Fix For: 0.92.0


In DefaultLoadBalancer, we implement the "retain assignment" function like so:
{code}
      if (sn != null && servers.contains(sn)) {
        assignments.get(sn).add(region.getKey());
{code}

but this will never work since after a cluster restart, all servers have a new ServerName
with a new startcode.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message