You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Devaraj Das (JIRA)" <ji...@apache.org> on 2014/03/12 18:48:45 UTC

[jira] [Created] (HBASE-10729) Enable table doesn't balance out replicas evenly if the replicas were unassigned earlier

Devaraj Das created HBASE-10729:
-----------------------------------

             Summary: Enable table doesn't balance out replicas evenly if the replicas were unassigned earlier
                 Key: HBASE-10729
                 URL: https://issues.apache.org/jira/browse/HBASE-10729
             Project: HBase
          Issue Type: Sub-task
            Reporter: Devaraj Das
            Assignee: Devaraj Das


Enable table doesn't assign out replicas keeping availability in mind, if the replicas were unassigned before the table was disabled. For example, when a snapshot is restored and then the table is enabled, the replicas are unevenly assigned. The reason for this is that the the enable table invokes randomAssign that assigns one region at a time. Since the master doesn't have any information about the unassigned replicas, the calls to randomAssign can't do any availability checks.



--
This message was sent by Atlassian JIRA
(v6.2#6252)