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 92F9C18D6C for ; Sat, 30 May 2015 00:53:18 +0000 (UTC) Received: (qmail 88316 invoked by uid 500); 30 May 2015 00:53:18 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 88269 invoked by uid 500); 30 May 2015 00:53:18 -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 88258 invoked by uid 99); 30 May 2015 00:53:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 May 2015 00:53:18 +0000 Date: Sat, 30 May 2015 00:53:18 +0000 (UTC) From: "Stephen Yuan Jiang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13812) Deleting of last Column Family of a table should not be allowed 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-13812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14565732#comment-14565732 ] Stephen Yuan Jiang commented on HBASE-13812: -------------------------------------------- +1 LGTM > Deleting of last Column Family of a table should not be allowed > --------------------------------------------------------------- > > Key: HBASE-13812 > URL: https://issues.apache.org/jira/browse/HBASE-13812 > Project: HBase > Issue Type: Bug > Components: master > Reporter: Sophia Feng > Assignee: Enis Soztutar > Fix For: 2.0.0, 0.98.13, 1.0.2, 1.2.0, 1.1.1 > > Attachments: console_tue_nokill_r3.log.zip, hbase-13812_v1.patch > > > In this test run (without master killing) of IntegrationTestDDLMasterFailover of HBASE-13470, the {{DeleteColumnFamilyAction}} tries to delete one of the column families of a selected table. When there is only 1 column family left, the delete didn't fail. > {noformat:title=console_tue_nokill_r3.log} > 2015-05-20 02:34:30,934 INFO [Thread-5] hbase.IntegrationTestMasterFailover: Deleting column family: {NAME => 'cf-882743293', DATA_BLOCK_ENCODING => 'PREFIX', BLOOMFILTER => 'ROW', REPLICATION_SCOPE => '0', COMPRESSION => 'NONE', VERSIONS => '1', TTL => 'FOREVER', MIN_VERSIONS => '0', KEEP_DELETED_CELLS => 'FALSE', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'} from table: ittable-0296278350 > ... > 2015-05-20 02:34:35,269 INFO [Thread-5] hbase.IntegrationTestMasterFailover: Deleted column family: {NAME => 'cf-882743293', DATA_BLOCK_ENCODING => 'PREFIX', BLOOMFILTER => 'ROW', REPLICATION_SCOPE => '0', COMPRESSION => 'NONE', VERSIONS => '1', TTL => 'FOREVER', MIN_VERSIONS => '0', KEEP_DELETED_CELLS => 'FALSE', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'} from table: ittable-0296278350 > ... > 2015-05-20 02:34:35,383 INFO [Thread-14] hbase.IntegrationTestMasterFailover: No column families in table: 'ittable-0296278350' > ... > Number of Tables: 49 > Table: ittable-0372763896 rw families: 1 > Table: ittable-0824340809 rw families: 1 > Table: ittable-1400154361 rw families: 1 > Table: ittable-1625415605 rw families: 0 > Table: ittable-1501441540 rw families: 1 > Table: ittable-0296278350 rw families: 0 > {noformat} > This should not be allowed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)