Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 3364 invoked from network); 22 Dec 2009 01:52:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Dec 2009 01:52:48 -0000 Received: (qmail 96788 invoked by uid 500); 22 Dec 2009 01:52:42 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 96765 invoked by uid 500); 22 Dec 2009 01:52:41 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 96696 invoked by uid 99); 22 Dec 2009 01:52:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Dec 2009 01:52:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Dec 2009 01:52:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3FCA2234C1E9 for ; Mon, 21 Dec 2009 17:52:18 -0800 (PST) Message-ID: <1413793932.1261446738260.JavaMail.jira@brutus> Date: Tue, 22 Dec 2009 01:52:18 +0000 (UTC) From: "Jean-Daniel Cryans (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Updated: (HBASE-2064) Cannot disable a table if at the same the Master is moving its regions around In-Reply-To: <1583915786.1261446738127.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-2064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Daniel Cryans updated HBASE-2064: -------------------------------------- Summary: Cannot disable a table if at the same the Master is moving its regions around (was: Cannot disable a table if at the same the Master is moving it's regions around) > Cannot disable a table if at the same the Master is moving its regions around > ----------------------------------------------------------------------------- > > Key: HBASE-2064 > URL: https://issues.apache.org/jira/browse/HBASE-2064 > Project: Hadoop HBase > Issue Type: Sub-task > Affects Versions: 0.20.2 > Reporter: Jean-Daniel Cryans > Assignee: Jean-Daniel Cryans > Fix For: 0.20.3, 0.21.0 > > > Using the test in parent jira I get: > {code} > 009-12-21 17:24:34,199 DEBUG [main] client.HBaseAdmin(397): Sleep. Waiting for all regions to be disabled from table71 > 2009-12-21 17:24:34,300 DEBUG [main] client.HBaseAdmin(406): Wake. Waiting for all regions to be disabled from table71 > 2009-12-21 17:24:34,300 DEBUG [main] client.HConnectionManager$TableServers(776): Cache hit for row <> in tableName .META.: location server 10.10.1.54:55075, location region name .META.,,1 > 2009-12-21 17:24:34,310 DEBUG [main] client.HConnectionManager$TableServers(554): Rowscanned=1, rowsOffline=0 > 2009-12-21 17:24:34,310 DEBUG [main] client.HBaseAdmin(397): Sleep. Waiting for all regions to be disabled from table71 > 2009-12-21 17:24:34,410 DEBUG [main] client.HBaseAdmin(406): Wake. Waiting for all regions to be disabled from table71 > 2009-12-21 17:24:34,410 DEBUG [main] client.HConnectionManager$TableServers(776): Cache hit for row <> in > tableName .META.: location server 10.10.1.54:55075, location region name .META.,,1 > 2009-12-21 17:24:34,413 INFO [IPC Server handler 4 on 60001] master.ServerManager(421): Processing > MSG_REPORT_CLOSE: table72,,1261444940338 from 10.10.1.54,55077,1261444817847; 1 of 3 > 2009-12-21 17:24:34,413 INFO [IPC Server handler 4 on 60001] master.ServerManager(421): Processing > MSG_REPORT_CLOSE: table71,,1261444939954 from 10.10.1.54,55077,1261444817847; 2 of 3 > 2009-12-21 17:24:34,413 DEBUG [master] master.HMaster(479): Processing todo: ProcessRegionClose of table72,,1261444940338, false, reassign: true > 2009-12-21 17:24:34,413 INFO [master] master.ProcessRegionClose(86): region set as unassigned: table72,,1261444940338 > 2009-12-21 17:24:34,418 WARN [RegionServer:2] regionserver.HRegionServer(556): Attempt=1 > java.io.IOException: java.io.IOException: java.lang.IllegalStateException: Cannot set a region to be closed if it was not already > marked as pending close or pending open. State: name=table71,,1261444939954, unassigned=false, pendingOpen=false, > open=false, closing=true, pendingClose=false, closed=false, offlined=true > at org.apache.hadoop.hbase.master.RegionManager$RegionState.setClosed(RegionManager.java:1599) > {code} > The master here was already closing table71 while the test was trying to disable it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.