Reputation: 31
I am trying to rename existing HBase table but MapR is not supporting any of the existing solutions that I googled. Example export, snapshot etc. Can someone please post the correct steps to rename the existing HBase table in MapR and take a backup of HBase table.
disable 'tableName' snapshot 'tableName', 'tableSnapshot' clone_snapshot 'tableSnapshot', 'newTableName' delete_snapshot 'tableSnapshot' drop 'tableName'
For this solution getting below error. ERROR: snapshot for a MapR is unsupported.
Tried mapr copytable -src -dst For this ERROR: is not a JSON table. This tool only supports JSON tables
Upvotes: 0
Views: 156
Reputation: 1907
You can rename a table using the standard Linux command mv
.
To take a snapshot, take a snapshot of the volume that the table lives in.
Upvotes: 0