[ 
https://issues.apache.org/jira/browse/HBASE-4879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158708#comment-13158708
 ] 

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(…)
alter("table").addColumnFamily(…)
…
{code}

and then for constraints, something like:

{code}
alter("table").addConstraint(…)
alter("table").enableConstraints
…
{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 extension 
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. 
                
> 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. 
> 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 administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to