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 "Arpit Gupta (JIRA)" <ji...@apache.org> on 2011/09/24 00:07:26 UTC

[jira] [Created] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

log4j.properties is missing properties for security audit and hdfs audit should be changed to info
--------------------------------------------------------------------------------------------------

                 Key: HADOOP-7681
                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
             Project: Hadoop Common
          Issue Type: Bug
          Components: conf
            Reporter: Arpit Gupta
            Assignee: Arpit Gupta
            Priority: Minor


log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Arpit Gupta (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113798#comment-13113798 ] 

Arpit Gupta commented on HADOOP-7681:
-------------------------------------

security audit log was missing the following

security.audit.logger=INFO,console
hadoop.security.log.file=SecurityAuth.audit
log4j.category.SecurityLogger=${security.audit.logger}
log4j.appender.DRFAS.DatePattern=.yyyy-MM-dd


and hdfs audit had the following line which should be removed
log4j.logger.org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit=WARN

> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113840#comment-13113840 ] 

Hadoop QA commented on HADOOP-7681:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12496341/HADOOP-7681-1.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in .

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/231//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/231//console

This message is automatically generated.

> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>         Attachments: HADOOP-7681-1.patch, HADOOP-7681.20s.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Arpit Gupta (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arpit Gupta updated HADOOP-7681:
--------------------------------

    Attachment:     (was: HADOOP-7681.patch)

> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>         Attachments: HADOOP-7681.20s.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Arpit Gupta (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arpit Gupta updated HADOOP-7681:
--------------------------------

    Attachment: HADOOP-7681.20s.patch

patch for branch 20 security

added apache license.
moved job summary properties to one place.
removed audit loggers being set to WARN.

> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>         Attachments: HADOOP-7681.20s.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Arpit Gupta (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arpit Gupta updated HADOOP-7681:
--------------------------------

    Attachment: HADOOP-7681-2.patch

generated patch for trunk again.
                
> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>         Attachments: HADOOP-7681-1.patch, HADOOP-7681-2.patch, HADOOP-7681.20s.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
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

        

[jira] [Commented] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120347#comment-13120347 ] 

Hudson commented on HADOOP-7681:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1030 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1030/])
    HADOOP-7681. Fixed security and hdfs audit log4j properties
(Arpit Gupta via Eric Yang)

eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1178863
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties

                
> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>             Fix For: 0.20.205.0, 0.23.0
>
>         Attachments: HADOOP-7681-1.patch, HADOOP-7681-2.patch, HADOOP-7681.20s.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
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

        

[jira] [Commented] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120279#comment-13120279 ] 

Hudson commented on HADOOP-7681:
--------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1089 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1089/])
    HADOOP-7681. Fixed security and hdfs audit log4j properties
(Arpit Gupta via Eric Yang)

eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1178863
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties

                
> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>             Fix For: 0.20.205.0, 0.23.0
>
>         Attachments: HADOOP-7681-1.patch, HADOOP-7681-2.patch, HADOOP-7681.20s.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
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

        

[jira] [Commented] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113836#comment-13113836 ] 

Eric Yang commented on HADOOP-7681:
-----------------------------------

+1 looks good.

> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>         Attachments: HADOOP-7681-1.patch, HADOOP-7681.20s.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Matt Foley (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115332#comment-13115332 ] 

Matt Foley commented on HADOOP-7681:
------------------------------------

Committed to 0.20-sec and 0.20.205.  Thanks Arpit!  And thanks Eric for the review.
                
> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>         Attachments: HADOOP-7681-1.patch, HADOOP-7681.20s.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
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

        

[jira] [Commented] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120936#comment-13120936 ] 

Hudson commented on HADOOP-7681:
--------------------------------

Integrated in Hadoop-Mapreduce-0.23-Build #37 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/37/])
    HADOOP-7681. Fixed security and hdfs audit log4j properties
(Arpit Gupta via Eric Yang)

eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1178862
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties

                
> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>             Fix For: 0.20.205.0, 0.23.0
>
>         Attachments: HADOOP-7681-1.patch, HADOOP-7681-2.patch, HADOOP-7681.20s.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
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

        

[jira] [Updated] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Eric Yang (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated HADOOP-7681:
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.23.0
                   0.20.205.0
     Release Note: 
HADOOP-7681. Fixed security and hdfs audit log4j properties
(Arpit Gupta via Eric Yang)
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

I just committed this to trunk and branch 0.23, thanks Arpit.
                
> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>             Fix For: 0.20.205.0, 0.23.0
>
>         Attachments: HADOOP-7681-1.patch, HADOOP-7681-2.patch, HADOOP-7681.20s.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
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

        

[jira] [Commented] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Eric Yang (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120238#comment-13120238 ] 

Eric Yang commented on HADOOP-7681:
-----------------------------------

Arpit, the patch has staled for trunk.  Could you generate the patch again without:

{noformat}
log4j.category.SecurityLogger=${security.audit.logger}
{noformat}

Thanks
                
> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>         Attachments: HADOOP-7681-1.patch, HADOOP-7681.20s.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
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

        

[jira] [Updated] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated HADOOP-7681:
------------------------------

    Status: Patch Available  (was: Open)

> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>         Attachments: HADOOP-7681-1.patch, HADOOP-7681.20s.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120905#comment-13120905 ] 

Hudson commented on HADOOP-7681:
--------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #30 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/30/])
    HADOOP-7681. Fixed security and hdfs audit log4j properties
(Arpit Gupta via Eric Yang)

eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1178862
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties

                
> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>             Fix For: 0.20.205.0, 0.23.0
>
>         Attachments: HADOOP-7681-1.patch, HADOOP-7681-2.patch, HADOOP-7681.20s.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
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

        

[jira] [Updated] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Arpit Gupta (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arpit Gupta updated HADOOP-7681:
--------------------------------

    Attachment: HADOOP-7681-1.patch

re attaching the same patch but with a different name.

> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>         Attachments: HADOOP-7681-1.patch, HADOOP-7681.20s.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120877#comment-13120877 ] 

Hudson commented on HADOOP-7681:
--------------------------------

Integrated in Hadoop-Hdfs-trunk #821 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/821/])
    HADOOP-7681. Fixed security and hdfs audit log4j properties
(Arpit Gupta via Eric Yang)

eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1178863
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties

                
> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>             Fix For: 0.20.205.0, 0.23.0
>
>         Attachments: HADOOP-7681-1.patch, HADOOP-7681-2.patch, HADOOP-7681.20s.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
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

        

[jira] [Commented] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113833#comment-13113833 ] 

Eric Yang commented on HADOOP-7681:
-----------------------------------

+1 looks good.

> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>         Attachments: HADOOP-7681.20s.patch, HADOOP-7681.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120275#comment-13120275 ] 

Hudson commented on HADOOP-7681:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #1011 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1011/])
    HADOOP-7681. Fixed security and hdfs audit log4j properties
(Arpit Gupta via Eric Yang)

eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1178863
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties

                
> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>             Fix For: 0.20.205.0, 0.23.0
>
>         Attachments: HADOOP-7681-1.patch, HADOOP-7681-2.patch, HADOOP-7681.20s.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
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

        

[jira] [Updated] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Arpit Gupta (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arpit Gupta updated HADOOP-7681:
--------------------------------

    Attachment: HADOOP-7681.patch

patch for trunk.

moved job summary properties to one place, added missing properties for security audit and removed mr audit properties that were commented out.

> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>         Attachments: HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Arpit Gupta (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arpit Gupta updated HADOOP-7681:
--------------------------------

    Attachment: HADOOP-7681.patch

forgot to remove some duplicate properties.

> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>         Attachments: HADOOP-7681.20s.patch, HADOOP-7681.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7681) log4j.properties is missing properties for security audit and hdfs audit should be changed to info

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120952#comment-13120952 ] 

Hudson commented on HADOOP-7681:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #851 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/851/])
    HADOOP-7681. Fixed security and hdfs audit log4j properties
(Arpit Gupta via Eric Yang)

eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1178863
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties

                
> log4j.properties is missing properties for security audit and hdfs audit should be changed to info
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7681
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7681
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>            Priority: Minor
>             Fix For: 0.20.205.0, 0.23.0
>
>         Attachments: HADOOP-7681-1.patch, HADOOP-7681-2.patch, HADOOP-7681.20s.patch, HADOOP-7681.patch
>
>
> log4j.properties defines the security audit and hdfs audit files but is missing properties for security audit which causes security audit logs to not be present and also updates the hdfs audit to log at a WARN level. hdfs-audit logs should be at the INFO level so admin's/users can track when the namespace got the appropriate change.

--
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