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 23:32:49 UTC

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

     [ https://issues.apache.org/jira/browse/HBASE-10729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Devaraj Das resolved HBASE-10729.
---------------------------------

    Resolution: Fixed

> 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
>             Fix For: hbase-10070
>
>         Attachments: 10729-1.txt
>
>
> 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)