Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B5CEAD773 for ; Tue, 30 Oct 2012 16:55:20 +0000 (UTC) Received: (qmail 72600 invoked by uid 500); 30 Oct 2012 16:55:18 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 72543 invoked by uid 500); 30 Oct 2012 16:55:18 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 72530 invoked by uid 99); 30 Oct 2012 16:55:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2012 16:55:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kevin.odell@cloudera.com designates 209.85.212.41 as permitted sender) Received: from [209.85.212.41] (HELO mail-vb0-f41.google.com) (209.85.212.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2012 16:55:08 +0000 Received: by mail-vb0-f41.google.com with SMTP id v13so654237vbk.14 for ; Tue, 30 Oct 2012 09:54:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=ZzgZcaSEf1+PyEsa1Sfnrmc96OJfjIkZnnE3L6pns0s=; b=nCBkoOoJOpZJjAbPwlL4eOYAkmOvTQhSwv7yIT7o5wu0EJCRF0T+VFZGtM0MRVjSxv 74L3R4Wf5l6wjLVoyFcKaLqzG6YAXlntYbaC2WZD/kJFGAlJgI6yaN4wT12BnUWtJuSr GtdizkfGjARlRuXUzJ+OZWPWqDrGmzNCEAlL8lNjAmGshD6HBSRuDp6ROgfaUR2GfVbS KMtx5a5YhEsKQAwWltnyJmlQCnUz0LBM+9mgVnTAskff1T6QlZ3Enbb/qF80FMR6x2JV JttC1oOITBUaV/IvjUc5o/zAwszbkThKuGXTBa2VsU+jwle5j8JdE5MBqhJ7eboDR9a/ skig== MIME-Version: 1.0 Received: by 10.52.19.109 with SMTP id d13mr44489891vde.27.1351616087314; Tue, 30 Oct 2012 09:54:47 -0700 (PDT) Received: by 10.58.243.71 with HTTP; Tue, 30 Oct 2012 09:54:47 -0700 (PDT) In-Reply-To: References: Date: Tue, 30 Oct 2012 11:54:47 -0500 Message-ID: Subject: Re: adding column family to hbase table From: "Kevin O'dell" To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=bcaec501c140c1d23a04cd49a4da X-Gm-Message-State: ALoCoQmTjclet/eWEivIE+S4i+/xdAsOVv5x9KiClhufj/Wh6Hz/GJkdzqCf01rfWTetNA74wThG X-Virus-Checked: Checked by ClamAV on apache.org --bcaec501c140c1d23a04cd49a4da Content-Type: text/plain; charset=ISO-8859-1 Mike, I don't have the code handy, but you are going to need to put that in xml format On Tue, Oct 30, 2012 at 11:46 AM, Mike wrote: > Awesome! > So, I set it like the below in CM4. > > hbase.online.schema.update.enable=true > > > Thanks > > > On Tue, Oct 30, 2012 at 12:01 PM, Kevin O'dell > wrote: > > Mike, > > > > You would use the safety valve. > > > > On Tue, Oct 30, 2012 at 10:52 AM, Mike wrote: > > > >> Thanks Kevin. > >> > >> I use CM4.0 > >> Can I set this parameter using CM4.0? > >> > >> I searched in hbase configuration link. I couldn't locate. > >> > >> Thanks > >> > >> On Tue, Oct 30, 2012 at 11:30 AM, Kevin O'dell < > kevin.odell@cloudera.com> > >> wrote: > >> > Mike, > >> > > >> > It would be in your hbase-site.xml. > >> > > >> > Michael, > >> > > >> > I agree. > >> > > >> > On Tue, Oct 30, 2012 at 10:22 AM, Michael Segel > >> > wrote: > >> > > >> >> When I hear experimental and production in the same conversation, I > get > >> >> shivers up my spine. > >> >> > >> >> Which release(s) contain this flag? > >> >> > >> >> On Oct 30, 2012, at 9:35 AM, Kevin O'dell > >> >> wrote: > >> >> > >> >> > Mike, > >> >> > > >> >> > I have not messed around with the online schema changes too much. > >> It is > >> >> > still experimental, but I think you are looking for: > >> >> > > >> >> > hbase.online.schema.update.enable > >> >> > > >> >> > Set true to enable online schema changes. This is an experimental > >> >> feature. > >> >> > There are known issues modifying table schemas at the same time a > >> region > >> >> > split is happening so your table needs to be quiescent or else you > >> have > >> >> to > >> >> > be running with splits disabled. > >> >> > > >> >> > Default: false > >> >> > > >> >> > On Tue, Oct 30, 2012 at 9:25 AM, Mike wrote: > >> >> > > >> >> >> Hi All, > >> >> >> > >> >> >> I use hbase 0.92 and I am trying to add a column family to hbase > >> table > >> >> >> and I get the below error. > >> >> >> > >> >> >> ERROR: org.apache.hadoop.hbase.TableNotDisabledException: > >> >> >> org.apache.hadoop.hbase.TableNotDisabledException: test > >> >> >> > >> >> >> > >> >> >> After disabling the table, I can add the column family. > >> >> >> > >> >> >> But in production environment, I will not be able to disable the > >> table. > >> >> >> > >> >> >> Is there a way without disabling table, I can add the column > family? > >> >> >> > >> >> >> Thanks > >> >> >> > >> >> >> > >> >> > > >> >> > > >> >> > -- > >> >> > Kevin O'Dell > >> >> > Customer Operations Engineer, Cloudera > >> >> > >> >> > >> > > >> > > >> > -- > >> > Kevin O'Dell > >> > Customer Operations Engineer, Cloudera > >> > > > > > > > > -- > > Kevin O'Dell > > Customer Operations Engineer, Cloudera > -- Kevin O'Dell Customer Operations Engineer, Cloudera --bcaec501c140c1d23a04cd49a4da--