hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Weichen YE <yeweichen2...@gmail.com>
Subject Is there any way to truncate the hbase table but keep all the regions
Date Sun, 28 Sep 2014 01:54:08 GMT
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?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message