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 1E93910CB3 for ; Wed, 26 Feb 2014 22:12:33 +0000 (UTC) Received: (qmail 97813 invoked by uid 500); 26 Feb 2014 22:12:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 97755 invoked by uid 500); 26 Feb 2014 22:12:24 -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 97715 invoked by uid 99); 26 Feb 2014 22:12:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Feb 2014 22:12:22 +0000 Date: Wed, 26 Feb 2014 22:12:22 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-10591) Sanity check table configuration in createTable 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-10591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13913598#comment-13913598 ] stack commented on HBASE-10591: ------------------------------- I +1'd it [~enis] > Sanity check table configuration in createTable > ----------------------------------------------- > > Key: HBASE-10591 > URL: https://issues.apache.org/jira/browse/HBASE-10591 > Project: HBase > Issue Type: Improvement > Reporter: Enis Soztutar > Assignee: Enis Soztutar > Fix For: 0.99.0 > > Attachments: hbase-10591_v1.patch, hbase-10591_v2.patch, hbase-10591_v3.patch, hbase-10591_v4.patch, hbase-10591_v5.patch > > > We had a cluster completely become unoperational, because a couple of table was erroneously created with MAX_FILESIZE set to 4K, which resulted in 180K regions in a short interval, and bringing the master down due to HBASE-4246. > We can do some sanity checking in master.createTable() and reject the requests. We already check the compression there, so it seems a good place. Alter table should also check for this as well. -- This message was sent by Atlassian JIRA (v6.1.5#6160)