accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <>
Subject Re: How to remove all tables of accumulo or format hadoop files for accumulo
Date Fri, 28 Apr 2017 14:10:02 GMT
Suresh, you can "reinitialize" Accumulo by doing the following:

* Stop Accumulo
* Run `hdfs dfs -rm -R -skipTrash /apps/accumulo/data` (assuming you're 
using HDP as you linked the HDP documentation).
* Re-run `accumulo init`
* Start Accumulo

If you are on HDP (notably, using Ambari), you likely need to provide 
some extra arguments to ensure Accumulo is configured as Ambari expects. 
You can find a write-up at [1]

However, like Dylan points out, you don't need to use the "heavy-hammer" 
to delete all of HDFS. Just drop the Accumulo tables you don't want next 


Suresh Prajapati 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
> <>
> 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

View raw message