ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AMBARI-20180) HDFS SecurityLogger messages are logged twice
Date Thu, 02 Mar 2017 23:29:45 GMT

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

Arpit Agarwal edited comment on AMBARI-20180 at 3/2/17 11:29 PM:
-----------------------------------------------------------------

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}
hadoop.security.log.file=SecurityAuth.audit
log4j.additivity.SecurityLogger=false
{code}

Thank you [~afernandez] for the offline help.


was (Author: arpitagarwal):
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)

Mime
View raw message