Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 669ED10A5E for ; Wed, 12 Mar 2014 22:33:07 +0000 (UTC) Received: (qmail 62309 invoked by uid 500); 12 Mar 2014 22:32:57 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 62140 invoked by uid 500); 12 Mar 2014 22:32:52 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 62016 invoked by uid 99); 12 Mar 2014 22:32:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2014 22:32:49 +0000 Date: Wed, 12 Mar 2014 22:32:49 +0000 (UTC) From: "Devaraj Das (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-10729) Enable table doesn't balance out replicas evenly if the replicas were unassigned earlier MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)