Hadoop Common
  1. Hadoop Common
  2. HADOOP-7740

security audit logger is not on by default, fix the log4j properties to enable the logger

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.20.205.0
    • Fix Version/s: 1.0.0, 0.23.0
    • Component/s: conf
    • Labels:
      None
    • Release Note:
      Fixed security audit logger configuration. (Arpit Gupta via Eric Yang)
    • Target Version/s:
    1. HADOOP-7740.patch
      3 kB
      Arpit Gupta
    2. HADOOP-7740.patch
      3 kB
      Arpit Gupta
    3. HADOOP-7740.patch
      3 kB
      Arpit Gupta
    4. HADOOP-7740.patch
      6 kB
      Arpit Gupta
    5. HADOOP-7740.branch-0.20-security.patch
      3 kB
      Arpit Gupta
    6. HADOOP-7740.branch-0.20-security.patch
      3 kB
      Arpit Gupta
    7. HADOOP-7740.branch-0.20-security.patch
      3 kB
      Arpit Gupta
    8. HADOOP-7740.branch-0.20-security.patch
      3 kB
      Arpit Gupta
    9. HADOOP-7740.branch-0.20-security.patch
      3 kB
      Arpit Gupta

      Activity

      Hide
      Arpit Gupta added a comment -

      added a missing line

      Show
      Arpit Gupta added a comment - added a missing line
      Hide
      Arpit Gupta added a comment -

      make sure security logger is enabled for jobtracker. Also the hadoop script in trunk is different from what is in 20 security. So not sure if this patch applies to trunk.

      Show
      Arpit Gupta added a comment - make sure security logger is enabled for jobtracker. Also the hadoop script in trunk is different from what is in 20 security. So not sure if this patch applies to trunk.
      Hide
      Arpit Gupta added a comment -

      finalized the path for branch 20 security.

      Show
      Arpit Gupta added a comment - finalized the path for branch 20 security.
      Hide
      Arpit Gupta added a comment -

      attached another patch making the minimum changes.

      Show
      Arpit Gupta added a comment - attached another patch making the minimum changes.
      Hide
      Arpit Gupta added a comment -

      oops attached the wrong patch.

      Show
      Arpit Gupta added a comment - oops attached the wrong patch.
      Hide
      Arpit Gupta added a comment -

      updated the patch for trunk

      Show
      Arpit Gupta added a comment - updated the patch for trunk
      Hide
      Hadoop QA added a comment -

      -1 overall. Here are the results of testing the latest attachment
      http://issues.apache.org/jira/secure/attachment/12500540/HADOOP-7740.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 patch. The patch command could not apply the patch.

      Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/312//console

      This message is automatically generated.

      Show
      Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12500540/HADOOP-7740.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 patch. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/312//console This message is automatically generated.
      Hide
      Arpit Gupta added a comment -

      since the patch spans common,hdfs and mapreduce the test patch failed.

      Show
      Arpit Gupta added a comment - since the patch spans common,hdfs and mapreduce the test patch failed.
      Hide
      Arpit Gupta added a comment -

      tested on a secure deploy namenode and jobtracker both have the security logs working.

      Show
      Arpit Gupta added a comment - tested on a secure deploy namenode and jobtracker both have the security logs working.
      Hide
      Eric Yang added a comment -

      +1 Looks good.

      Show
      Eric Yang added a comment - +1 Looks good.
      Hide
      Eric Yang added a comment -

      I just committed this. Thanks Arpit.

      Show
      Eric Yang added a comment - I just committed this. Thanks Arpit.
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Hdfs-0.23-Commit #96 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/96/)
      HADOOP-7740. Fixed security audit logger configuration. (Arpit Gupta via Eric Yang)

      eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190453
      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/bin/hadoop
      • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh
      • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh
      • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/bin/mapred
      Show
      Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #96 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/96/ ) HADOOP-7740 . Fixed security audit logger configuration. (Arpit Gupta via Eric Yang) eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190453 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/bin/hadoop /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/bin/mapred
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Common-trunk-Commit #1189 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1189/)
      HADOOP-7740. Fixed security audit logger configuration. (Arpit Gupta via Eric Yang)

      eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190452
      Files :

      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
      • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
      Show
      Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1189 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1189/ ) HADOOP-7740 . Fixed security audit logger configuration. (Arpit Gupta via Eric Yang) eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190452 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Hdfs-trunk-Commit #1265 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1265/)
      HADOOP-7740. Fixed security audit logger configuration. (Arpit Gupta via Eric Yang)

      eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190452
      Files :

      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
      • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
      Show
      Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1265 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1265/ ) HADOOP-7740 . Fixed security audit logger configuration. (Arpit Gupta via Eric Yang) eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190452 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Common-0.23-Commit #96 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/96/)
      HADOOP-7740. Fixed security audit logger configuration. (Arpit Gupta via Eric Yang)

      eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190453
      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/bin/hadoop
      • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh
      • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh
      • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/bin/mapred
      Show
      Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #96 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/96/ ) HADOOP-7740 . Fixed security audit logger configuration. (Arpit Gupta via Eric Yang) eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190453 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/bin/hadoop /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/bin/mapred
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Mapreduce-trunk-Commit #1209 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1209/)
      HADOOP-7740. Fixed security audit logger configuration. (Arpit Gupta via Eric Yang)

      eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190452
      Files :

      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
      • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
      Show
      Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1209 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1209/ ) HADOOP-7740 . Fixed security audit logger configuration. (Arpit Gupta via Eric Yang) eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190452 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Mapreduce-0.23-Commit #97 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/97/)
      HADOOP-7740. Fixed security audit logger configuration. (Arpit Gupta via Eric Yang)

      eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190453
      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/bin/hadoop
      • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh
      • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh
      • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/bin/mapred
      Show
      Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #97 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/97/ ) HADOOP-7740 . Fixed security audit logger configuration. (Arpit Gupta via Eric Yang) eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190453 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/bin/hadoop /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/bin/mapred
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Mapreduce-0.23-Build #71 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/71/)
      HADOOP-7740. Fixed security audit logger configuration. (Arpit Gupta via Eric Yang)

      eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190453
      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/bin/hadoop
      • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh
      • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh
      • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/bin/mapred
      Show
      Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #71 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/71/ ) HADOOP-7740 . Fixed security audit logger configuration. (Arpit Gupta via Eric Yang) eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190453 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/bin/hadoop /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/bin/mapred
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Hdfs-0.23-Build #54 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/54/)
      HADOOP-7740. Fixed security audit logger configuration. (Arpit Gupta via Eric Yang)

      eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190453
      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/bin/hadoop
      • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh
      • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh
      • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties
      • /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
      • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/bin/mapred
      Show
      Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #54 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/54/ ) HADOOP-7740 . Fixed security audit logger configuration. (Arpit Gupta via Eric Yang) eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190453 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/bin/hadoop /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/bin/mapred
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Hdfs-trunk #847 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/847/)
      HADOOP-7740. Fixed security audit logger configuration. (Arpit Gupta via Eric Yang)

      eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190452
      Files :

      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
      • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
      Show
      Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #847 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/847/ ) HADOOP-7740 . Fixed security audit logger configuration. (Arpit Gupta via Eric Yang) eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190452 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
      Hide
      Hudson added a comment -

      Integrated in Hadoop-Mapreduce-trunk #878 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/878/)
      HADOOP-7740. Fixed security audit logger configuration. (Arpit Gupta via Eric Yang)

      eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190452
      Files :

      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh
      • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties
      • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
      • /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
      Show
      Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #878 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/878/ ) HADOOP-7740 . Fixed security audit logger configuration. (Arpit Gupta via Eric Yang) eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190452 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/hadoop-env.sh /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/templates/conf/log4j.properties /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs /hadoop/common/trunk/hadoop-mapreduce-project/bin/mapred
      Hide
      Aaron T. Myers added a comment -

      tested on a secure deploy namenode and jobtracker both have the security logs working.

      Did you do this test on trunk? Or only on branch-0.20-security?

      On trunk, running a client command (built from source checkout) now results in this:

      $ hadoop fs -ls /
      log4j:ERROR Could not find value for key log4j.appender.NullAppender
      log4j:ERROR Could not instantiate appender named "NullAppender".
      

      Reverting this patch fixes the issue. Could someone please look into this?

      Show
      Aaron T. Myers added a comment - tested on a secure deploy namenode and jobtracker both have the security logs working. Did you do this test on trunk? Or only on branch-0.20-security? On trunk, running a client command (built from source checkout) now results in this: $ hadoop fs -ls / log4j:ERROR Could not find value for key log4j.appender.NullAppender log4j:ERROR Could not instantiate appender named "NullAppender". Reverting this patch fixes the issue. Could someone please look into this?

        People

        • Assignee:
          Arpit Gupta
          Reporter:
          Arpit Gupta
        • Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development