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 B35EC96C5 for ; Fri, 11 Nov 2011 00:26:14 +0000 (UTC) Received: (qmail 62908 invoked by uid 500); 11 Nov 2011 00:26:14 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 62883 invoked by uid 500); 11 Nov 2011 00:26:14 -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 62875 invoked by uid 99); 11 Nov 2011 00:26:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 00:26:14 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 00:26:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B89874D1AA for ; Fri, 11 Nov 2011 00:25:52 +0000 (UTC) Date: Fri, 11 Nov 2011 00:25:52 +0000 (UTC) From: "stack (Updated) (JIRA)" To: issues@hbase.apache.org Message-ID: <1607402127.19535.1320971152757.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1602373090.56635.1320343293416.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HBASE-4741) Online schema change doesn't return errors 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-4741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-4741: ------------------------- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Committed branch and trunk. > Online schema change doesn't return errors > ------------------------------------------ > > Key: HBASE-4741 > URL: https://issues.apache.org/jira/browse/HBASE-4741 > Project: HBase > Issue Type: Bug > Affects Versions: 0.92.0 > Reporter: Jean-Daniel Cryans > Assignee: stack > Priority: Critical > Fix For: 0.92.0 > > Attachments: 4741-v2.txt, 4741-v3.txt, 4741-v4.txt, 4741-v5.txt, 4741-v6.txt, 4741-v7.txt, 4741.txt > > > Still after the fun I had over in HBASE-4729, I tried to finish altering my table (remove a family) since only half of it was changed so I did this: > {quote} > hbase(main):002:0> alter 'TestTable', NAME => 'allo', METHOD => 'delete' > Updating all regions with the new schema... > 244/244 regions updated. > Done. > 0 row(s) in 1.2480 seconds > {quote} > Nice it all looks good, but over in the master log: > {quote} > org.apache.hadoop.hbase.InvalidFamilyOperationException: Family 'allo' does not exist so cannot be deleted > at org.apache.hadoop.hbase.master.handler.TableDeleteFamilyHandler.handleTableOperation(TableDeleteFamilyHandler.java:56) > at org.apache.hadoop.hbase.master.handler.TableEventHandler.process(TableEventHandler.java:86) > at org.apache.hadoop.hbase.master.HMaster.deleteColumn(HMaster.java:1011) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:348) > at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1242) > {quote} > Maybe we should do checks before launching the async task. > Marking critical as this is a regression. -- 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