hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joey Echeverria (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-3506) Allow table name expressed in regex in drop, disable, enable operations
Date Tue, 21 Jun 2011 21:01:47 GMT

     [ https://issues.apache.org/jira/browse/HBASE-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joey Echeverria updated HBASE-3506:
-----------------------------------

    Attachment: HBASE-3506-1.patch

I went with disable_all, drop_all and enable_all:
{noformat}
hbase(main):001:0> disable_all 'test.*'
test1                                                                           
test2                                                                           

Disable the above tables (y/n)?
y
0 row(s) in 4.0600 seconds

hbase(main):002:0>
{noformat}

The list command in the shell already supported regular expressions, but I added methods in
HBaseAdmin so that the java support is on par with the shell.

Please review and let me know what you think.

> Allow table name expressed in regex in drop, disable, enable operations
> -----------------------------------------------------------------------
>
>                 Key: HBASE-3506
>                 URL: https://issues.apache.org/jira/browse/HBASE-3506
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: Joey Echeverria
>         Attachments: HBASE-3506-1.patch
>
>
> Ability to disable, drop and enable tables using regex expression is desirable.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message