Created 02-14-2017 05:08 PM
I am aware that there is no way to delete Atlas tags via the UI or REST endpoints. However, I am wondering if there is a simple way to truncate the underlying database or wipe it so we start with what is essentially a fresh Atlas installation?
Created 02-14-2017 05:16 PM
Currently there is not simple way to delete the atlas tags using REST API. To wipe out the atlas database and start fresh, follow the below steps..
1. Stop Atlas
2. In hbase terminal, to disable hbase table, run this command - "disable 'atlas_titan'"
3. In hbase terminal, to drop hbase table, run this command - "drop 'atlas_titan'"
4. Restart Atlas
This should actually remove all the existing types from backend store(hbase) and reset the database. Hope this helps.
Created 02-14-2017 05:12 PM
Truncating the hbase tables atlas_titan , ATLAS_ENTITY_AUDIT_EVENTS would work.
Created 02-14-2017 05:16 PM
Currently there is not simple way to delete the atlas tags using REST API. To wipe out the atlas database and start fresh, follow the below steps..
1. Stop Atlas
2. In hbase terminal, to disable hbase table, run this command - "disable 'atlas_titan'"
3. In hbase terminal, to drop hbase table, run this command - "drop 'atlas_titan'"
4. Restart Atlas
This should actually remove all the existing types from backend store(hbase) and reset the database. Hope this helps.
Created 02-14-2017 05:22 PM
Thanks! I wanted to confirm before took such a drastic move 🙂 Worked perfectly.