Details
-
New Feature
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Recently, we are trying to migrate tables from Cluster-A to Cluster-B, I found that HBase lack some useful tools :
1. dump table schema, like mysqldump in mysql
2. dump table privileges, like pt-show-grants in mysql provided by Percona.
I think we can add a dump sub-command looks like (JUST simple demo) :
$ ./bin/hbase dump -t test_table --with-privileges > ~/test_table.hsh $ cat ~/test_table.hsh create 'test_table', {NAME=>'f1'} grant 'test_user', 'RW', 'test_table'
Maybe I can contribute ...
How do you think ?
Attachments
Attachments
Issue Links
- links to