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 5AD88D3D5 for ; Wed, 20 Jun 2012 04:32:45 +0000 (UTC) Received: (qmail 84417 invoked by uid 500); 20 Jun 2012 04:32:45 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 84235 invoked by uid 500); 20 Jun 2012 04:32:44 -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 83950 invoked by uid 99); 20 Jun 2012 04:32:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2012 04:32:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 89130142869 for ; Wed, 20 Jun 2012 04:32:43 +0000 (UTC) Date: Wed, 20 Jun 2012 04:32:43 +0000 (UTC) From: "rajeshbabu (JIRA)" To: issues@hbase.apache.org Message-ID: <5998621.32651.1340166763565.JavaMail.jiratomcat@issues-vm> In-Reply-To: <480424601.24596.1340020782642.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HBASE-6229) AM.assign() should not set table state to ENABLED directly. 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-6229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397257#comment-13397257 ] rajeshbabu commented on HBASE-6229: ----------------------------------- Updated patch for 94. Thanks Ted. > AM.assign() should not set table state to ENABLED directly. > ----------------------------------------------------------- > > Key: HBASE-6229 > URL: https://issues.apache.org/jira/browse/HBASE-6229 > Project: HBase > Issue Type: Bug > Affects Versions: 0.92.2, 0.94.1 > Reporter: rajeshbabu > Assignee: rajeshbabu > Fix For: 0.96.0, 0.94.1, 0.92.3 > > Attachments: 6229_trunk_2.patch, HBASE-6229_94.patch, HBASE-6229_94_1.patch, HBASE-6229_94_2.patch, HBASE-6229_trunk.patch, HBASE-6229_trunk_1.patch > > > In case of assign from EnableTableHandler table state is ENABLING. Any how EnableTableHandler will set ENABLED after assigning all the the table regions. If we try to set to ENABLED directly then client api may think ENABLE table is completed. When we have a case like all the regions are added directly into META and we call assignRegion then we need to make the table ENABLED. Hence in such case the table will not be in ENABLING or ENABLED state. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira