- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Is there a way to reset the Atlas database?
- Labels:
-
Apache Atlas
Created ‎02-14-2017 05:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Truncating the hbase tables atlas_titan , ATLAS_ENTITY_AUDIT_EVENTS would work.
Created ‎02-14-2017 05:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks! I wanted to confirm before took such a drastic move 🙂 Worked perfectly.
