accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Drob <mad...@cloudera.com>
Subject Re: How to delete all rows in Accumulo table?
Date Mon, 14 Apr 2014 19:22:36 GMT
All commands are from memory, so typos might exist. Deleting all rows can
be a very lengthy operation. It will likely be much faster to delete the
table and create a new one.

> droptable foo
> createtable foo

If you had configuration settings on the table that you wanted to keep,
then it might be easier to create, delete, and rename.

> createtable temp -cs foo -cc foo
> droptable foo
> renametable temp foo

If you really need to delete all the rows, you can do it using

> deleterows -t foo -f



On Mon, Apr 14, 2014 at 3:13 PM, Tiffany Reid <treid@eoir.com> wrote:

> Hi,
>
>
>
> How do I delete all rows in a table via Accumulo Shell?
>
>
>
> Thanks,
>
> Tiffany
>
>
>
>
>

Mime
View raw message