How can I list down
all the tables created under a single namespace in HBase?
In Hbase, is there anything like show tables;
which we can use in Hive to find all tables under a particular database.
You can use commands list_namespace_tables
from HBase shell. It lists all tables that are members of the namespace.
Example
hbaseshell> list_namespace_tables 'default'
You can list the namespaces like so:
hbaseshell> list_namespace
NAMESPACE
default
hbase
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With