hbase shell:
01.hbase shell> disable 'tableName'
02.hbase shell> snapshot 'tableName', 'tableSnapshot'
03.hbase shell> clone_snapshot 'tableSnapshot', 'newTableName'
04.hbase shell> delete_snapshot 'tableSnapshot'
05.hbase shell> drop 'tableName'
06.
01.void rename(HBaseAdmin admin, String oldTableName, String newTableName) {
02.
03.
04.
05.
06.
07.
08.}