hbase rename更改表名

 由於hbase中沒有rename命令,因此更改表名比較複雜。shell 重命名主要經過hbase的快照功能。app 1.中止表繼續插入spa  hbase shell>disable 'tableName'table 2。製做快照 hbase shell> snapshot 'tableName', 'tableSnapshot'im 3.克隆快照爲新的名字 hbase shell> clone
相關文章
相關標籤/搜索