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 "Akira Ajisaka (JIRA)" <ji...@apache.org> on 2016/11/08 01:14:58 UTC

[jira] [Updated] (HADOOP-13800) Remove unused HADOOP_AUDIT_LOGGER from hadoop-env.sh

     [ https://issues.apache.org/jira/browse/HADOOP-13800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akira Ajisaka updated HADOOP-13800:
-----------------------------------
    Description: 
The following example is misleading. The environment variable does not effect on HDFS audit logger.
{code:title=hadoop-env.sh}
# Default log level for file system audit messages.
# Generally, this is specifically set in the namenode-specific
# options line.
# Java property: hdfs.audit.logger
# export HADOOP_AUDIT_LOGGER=INFO,NullAppender
{code}

  was:
The following example is misleading. The environment variable does not effect on HDFS audit logger.
{code}
# Default log level for file system audit messages.
# Generally, this is specifically set in the namenode-specific
# options line.
# Java property: hdfs.audit.logger
# export HADOOP_AUDIT_LOGGER=INFO,NullAppender
{code}


Yes. It should be HDFS_AUDIT_LOGGER. There is already an example in hadoop-env.sh:
{code:title=hadoop-env.sh}
# Default log level and output location for file system related change
# messages. For non-namenode daemons, the Java property must be set in
# the appropriate _OPTS if one wants something other than INFO,NullAppender
# Java property: hdfs.audit.logger
# export HDFS_AUDIT_LOGGER=INFO,NullAppender
{code}
so HADOOP_AUDIT_LOGGER can simply be removed.

> Remove unused HADOOP_AUDIT_LOGGER from hadoop-env.sh
> ----------------------------------------------------
>
>                 Key: HADOOP-13800
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13800
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: scripts
>            Reporter: Akira Ajisaka
>            Priority: Minor
>              Labels: newbie
>
> The following example is misleading. The environment variable does not effect on HDFS audit logger.
> {code:title=hadoop-env.sh}
> # Default log level for file system audit messages.
> # Generally, this is specifically set in the namenode-specific
> # options line.
> # Java property: hdfs.audit.logger
> # export HADOOP_AUDIT_LOGGER=INFO,NullAppender
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org