hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10729) Enable table doesn't balance out replicas evenly if the replicas were unassigned earlier
Date Wed, 12 Mar 2014 20:30:43 GMT

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

Ted Yu commented on HBASE-10729:
--------------------------------

+1

> 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
>         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)

Mime
View raw message