I want to delete all tables in HBase. I am using HBase shell commands for doing this operation:
$ hbase shell
> disable_all .*
> drop_all .*
How can i write a shell script for doing this operations ?
Note: While executing above commands, it asks for the user confirmation i.e y/n before disabling and dropping all tables.