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 940EB9459 for ; Mon, 28 Nov 2011 20:12:01 +0000 (UTC) Received: (qmail 71842 invoked by uid 500); 28 Nov 2011 20:12:01 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 71818 invoked by uid 500); 28 Nov 2011 20:12:01 -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 71810 invoked by uid 99); 28 Nov 2011 20:12:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2011 20:12:01 +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; Mon, 28 Nov 2011 20:12:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 51C39A4A39 for ; Mon, 28 Nov 2011 20:11:40 +0000 (UTC) Date: Mon, 28 Nov 2011 20:11:40 +0000 (UTC) From: "Jesse Yates (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <1701758067.19250.1322511100336.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <423093206.15789.1322441680585.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4879) Add Constraint support to shell MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-4879?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1315= 8708#comment-13158708 ]=20 Jesse Yates commented on HBASE-4879: ------------------------------------ As a follow-on ticket to 4605, this means adding the support for altering a= table more easily. Specifically, this means doing something like: {code} alter("table").addCoprocessor(=E2=80=A6) alter("table").addColumnFamily(=E2=80=A6) =E2=80=A6 {code} and then for constraints, something like: {code} alter("table").addConstraint(=E2=80=A6) alter("table").enableConstraints =E2=80=A6 {code} with those methods being added dynamically by a 'constraint module' in the = jruby code. This would also serve as an example for how further shell exten= sion can be done in a modular manner. This ticket may also become a more major revamp for the how the shell works= , e.g. dropping into a table context, etc as described in the discussion.= =20 =20 > Add Constraint support to shell > ------------------------------- > > Key: HBASE-4879 > URL: https://issues.apache.org/jira/browse/HBASE-4879 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.94.0 > Reporter: Jesse Yates > > Follow-on ticket to HBASE-4605. Extend the shell functionality to include= altering a table to add a Constraint.=20 > Discussion around this can be found at: > http://search-hadoop.com/m/EeYb3dezMM -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira