Hi Weichen,

Which HBase version do you use?

You have "truncate_preserve" from the shell on recent versions.

JM

2014-09-27 21:54 GMT-04:00 Weichen YE <[email protected]>:

> Hello all,
>
>         I just want to delete all the data in the table, but keep the
> schema and all regions. If I use Delete API to do this, it seem too slow.
> If I use Truncate, the new table has only one regions and I need to do the
> pre-splitting every time once again.
>
>        Is there any feature like "clean/clear" which can help me delete all
> rows in the table , with a speed like "truncate", but keep all the regions
> of the table?
>

Reply via email to