Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AA1DFFD8C for ; Thu, 4 Apr 2013 04:35:24 +0000 (UTC) Received: (qmail 11526 invoked by uid 500); 4 Apr 2013 04:35:23 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 10784 invoked by uid 500); 4 Apr 2013 04:35:23 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 10629 invoked by uid 99); 4 Apr 2013 04:35:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Apr 2013 04:35:20 +0000 Date: Thu, 4 Apr 2013 04:35:20 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-8038) Repeat modify HTableDescriptor in TableModifyFamilyHandler 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-8038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Hofhansl resolved HBASE-8038. ---------------------------------- Resolution: Duplicate Fix Version/s: (was: 0.94.7) Fixed by HBASE-7624 (which backports HBASE-5359 and HBASE-7596) > Repeat modify HTableDescriptor in TableModifyFamilyHandler > ---------------------------------------------------------- > > Key: HBASE-8038 > URL: https://issues.apache.org/jira/browse/HBASE-8038 > Project: HBase > Issue Type: Bug > Reporter: binlijin > Attachments: HBASE-8038-94-2.patch, HBASE-8038-94.patch > > > {code} > TableModifyFamilyHandler: > protected void handleTableOperation(List regions) throws IOException { > // Update table descriptor in HDFS > HTableDescriptor htd = > this.masterServices.getMasterFileSystem().modifyColumn(tableName, familyDesc); > // Update in-memory descriptor cache > this.masterServices.getTableDescriptors().add(htd); // 2 > } > MasterFileSystem: > public HTableDescriptor modifyColumn(byte[] tableName, HColumnDescriptor hcd) > throws IOException { > this.services.getTableDescriptors().add(htd); // 1 > return htd; > } > {code} > The FSTableDescriptors.add(HTableDescriptor htd) is called twice, we should remove one. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira