Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ranger hive audit on hdfs : read real time data possible ?

Ranger hive audit on hdfs : read real time data possible ?

New Contributor

Hi,


My initial need is to be able to know the hive usage in real time and if there are errors in its use.

I am trying to use the HDFS Ranger audit log for that, but it seems that it's not possible to query the current day : when I execute a select, some log files are skipped and I only have a fraction of the results or even no results.


107256-hivetodaynoresult.png


I think that it is because the files are beeing written in the same time I am executing my request and I'd like to know if there is some solution to counter that problem?


In addition I noticed that the json of my logs are sometimes truncated, is it normal?


Thanks