You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Arpit Agarwal (JIRA)" <ji...@apache.org> on 2017/03/02 23:26:45 UTC

[jira] [Updated] (AMBARI-20180) HDFS SecurityLogger messages are logged twice

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

Arpit Agarwal updated AMBARI-20180:
-----------------------------------
    Attachment: AMBARI-20180.01.patch

Patch for trunk. This adds the following line to the HDFS log4j.properties file:
{code}
      log4j.additivity.SecurityLogger=false
{code}

For upgrades from \[2.3, 2.4, 2.5\] => 2.6, we will add the setting by replacing the following string in log4j.properties 
{code}
hadoop.security.log.file=SecurityAuth.audit
{code}

with

{code}
log4j.additivity.SecurityLogger=false
{code}

Thank you [~afernandez] for the offline help.

> HDFS SecurityLogger messages are logged twice
> ---------------------------------------------
>
>                 Key: AMBARI-20180
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20180
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-20180.01.patch
>
>
> HDFS SecurityLogger messages are logged twice, once each in the SecurityAuth.audit log and the NameNode service log.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)