[
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