HBase中删除整张表的数据

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三个动作的自动化集成。

你可能感兴趣的:(HBase中删除整张表的数据)