Member since
05-26-2016
10
Posts
1
Kudos Received
0
Solutions
06-03-2016
06:25 PM
@Ramesh Mani @bdurai There is something missing. I applied the indicated properties on HDP Sandbox via ambari and restarted the components and I immediately see the file created (zero length). Run some queries from Beeline, and the file is never appended !!! (and new ones created either). I changed the date pattern to do it every minute (fragment from "Advanced hive-log4j" in ambari): ranger.logger=INFO,console,RANGERAUDIT log4j.logger.xaaudit=${ranger.logger} log4j.appender.RANGERAUDIT=org.apache.log4j.DailyRollingFileAppender log4j.appender.RANGERAUDIT.File=/tmp/ranger_hdfs_audit.log log4j.appender.RANGERAUDIT.layout=org.apache.log4j.PatternLayout log4j.appender.RANGERAUDIT.layout.ConversionPattern=%d{ISO8601} %p %c{2}: %L %m%n log4j.appender.RANGERAUDIT.DatePattern='.'yyyy-MM-dd-HH-mm Has anybody tried this configuration ?
... View more
06-01-2016
06:31 PM
Has this property been deleted or renamed in HDP 2.3? There is the following props: xasecure.audit.destination.db.batch.filespool.dir xasecure.audit.destination.hdfs.batch.filespool.dir
... View more
06-01-2016
02:00 AM
1 Kudo
Ranger Audit logs for Hive/HDFS currently go to an HDFS folder. Format is json. Is it possible to fork out a second copy to a (local) directory that gets cleaned in a short window (24 hr).? How? Thanks,
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Hive
-
Apache Ranger