现在的位置: 首页 > 综合 > 正文

HBase中删除整张表的数据

2014年01月09日 ⁄ 综合 ⁄ 共 190字 ⁄ 字号 评论关闭

hbase(main):005:0> truncate 'FaceBase'
Truncating 'FaceBase' table (it may take a while):
 - Disabling table...
 - Dropping table...
 - Creating table...

0 row(s) in 14.4220 seconds

其实是disable、drop、create三个动作的自动化集成。

【上篇】
【下篇】

抱歉!评论已关闭.