[
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-4.patch
I modified the output per Eric's suggestion:
{noformat}
hbase(main):007:0> drop_all 'test.*'
test1
test2
Drop the above 2 tables (y/n)?
y
1 tables successfully dropped
1 tables not dropped due to an exception: test1
hbase(main):008:0>
{noformat}
I also added the same kind of exception catching to enable since I suppose it
could work on some tables, but not others.
Lastly I rebased the patch as I saw that some changes got checked into trunk.
> 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, HBASE-3506-2.patch,
> HBASE-3506-3.patch, HBASE-3506-4.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