Hbase修改表名 需要开启快照功能,在hbase-site.xml文件中添加如下配置项: 1 2 3 4 <property> <name>hbase.snapshot.enabled </name> <value>true </value> </property> 进入hbase shell执行: 1 2 3 4 5 hbase shell> disable 'tableName' hbase shell> snapshot 'tableName', 'tableSnapshot' hbase shell> clone_snapshot 'tableSnapshot', 'newTableName' hbase shell> delete_snapshot 'tableSnapshot' hbase shell> drop 'tableName' 分享到 评论 view 3 times