[ https://issues.apache.org/jira/browse/HADOOP-8224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262331#comment-13262331 ]
Eli Collins commented on HADOOP-8224: ------------------------------------- To test you'll want to build the tarball and test that HDFS_AUDIT_LOGGER is respected when set in hadoop-env.sh, eg if set to the WARNING level you don't see audit logging, and if set to INFO you do. Btw I noticed while reviewing this that audit logging is now enabled by default, will address that in HADOOP-8316. > Don't hardcode hdfs.audit.logger in the scripts > ----------------------------------------------- > > Key: HADOOP-8224 > URL: https://issues.apache.org/jira/browse/HADOOP-8224 > Project: Hadoop Common > Issue Type: Improvement > Components: conf > Affects Versions: 2.0.0 > Reporter: Eli Collins > Assignee: Tomohiko Kinebuchi > Attachments: HADOOP-8224.txt, HADOOP-8224.txt > > > The HADOOP_*OPTS defined for HDFS in hadoop-env.sh hard-code the > hdfs.audit.logger (is explicitly set via "-Dhdfs.audit.logger=INFO,RFAAUDIT") > so it's not overridable. Let's allow someone to override it as we do the > other parameters by introducing HADOOP_AUDIT_LOGGER. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira