For deleting test tables, you may find the flag "-p" for the deletetable
shell command useful.  For example,

deletetable -f -p Test.*


will delete all tables that begin with the prefix "Test".  You could even
call this from a script if you want to automate it into your build.
Perhaps this would solve your problem without having to re-format HDFS.

On Fri, Apr 28, 2017 at 12:43 AM, Suresh Prajapati <
sureshpraja1...@gmail.com> wrote:

> Hello Team
>
> I want to clear all records in accumulo for my local machine and want to
> delete unused tables created while testing. I found delete table command
> which can be used from accumulo shell however that will require much of
> manual works for deleting large number of tables. I also tried instructions
> <https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/
> bk_installing_manually_book/content/format_and_start_hdfs.html>
> to
> format namenode of hadoop but that doesn't seems to work. My question is
> how can I remove all tables and have fresh start with accumulo datastore?
> Any suggestion is welcomed. Tons of thanks in advanced.
>
> Thank You
> Suresh Prajapati
>

Reply via email to