Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Ranger Audit DB size?

avatar
Master Guru

What is a good recommendation on storage size for ranger audit on oracle. I want to store all hdfs, hbase, hive, and kafka audit created by ranger. I don't see anything on recommended db storage size. We are planning on using solr in the near future, but right now need db size info. any insights?

1 ACCEPTED SOLUTION

avatar
Rising Star

@Sunile Manjee

This would really depend on the cluster size and the number of jobs running. Very hard to gauge. A 10 node cluster with around 15-20 components can easily generate 1GB of audit logs PER DAY. Again depends on the cluster activity. You could use this as a baseline, but again, really hard to gauge.

Then again consider this only if being forced to use DB and after strongly advising against using DB as oppose to using Solr for ranger audits 🙂

View solution in original post

3 REPLIES 3

avatar
Super Guru
@Sunile Manjee

I see from HDP 2.5 audit to db support is removed and Solr is the only option to used as Ranger audit. With respect to DB size recommendations i need to check.

avatar

Hbase generates large amount of audit logs, so consider that when storing them in audit DB.

Audit to DB support is removed from HDP 2.5, so you should consider Solr sooner rather than later.

avatar
Rising Star

@Sunile Manjee

This would really depend on the cluster size and the number of jobs running. Very hard to gauge. A 10 node cluster with around 15-20 components can easily generate 1GB of audit logs PER DAY. Again depends on the cluster activity. You could use this as a baseline, but again, really hard to gauge.

Then again consider this only if being forced to use DB and after strongly advising against using DB as oppose to using Solr for ranger audits 🙂