You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Eli Collins (JIRA)" <ji...@apache.org> on 2012/05/11 18:28:52 UTC

[jira] [Commented] (HADOOP-8224) Don't hardcode hdfs.audit.logger in the scripts

    [ https://issues.apache.org/jira/browse/HADOOP-8224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13273403#comment-13273403 ] 

Eli Collins commented on HADOOP-8224:
-------------------------------------

Verified from a tarball install that there is no hdfs audit log by default and that exporting  HDFS_AUDIT_LOGGER to INFO,RFAAUDIT in hadoop-env.sh enables it.
                
> 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, 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