hbase中清空整张表的数据

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

0 row(s) in 14.4220 seconds

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

posted @ 2017-07-17 15:28  RoyFans  阅读(4072)  评论(0编辑  收藏  举报