Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-9855

Modify TestAuditLoggerWithCommands to workaround the absence of HDFS-8332

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.0, 2.9.0
    • Fix Version/s: 2.8.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The addition of setQuota audit log testing throws an AccessControlException instead of the expected FileSystemClosed IOException even when the filesystem has been explicitly closed, other calls behave as expected during a trial test. This is seen on branch-2 and not on trunk requiring investigation for a possible bug/discrepancy.

      CC:Kihwal Lee.

        Issue Links

          Activity

          Hide
          kihwal Kihwal Lee added a comment -

          Committed to branch-2 and branch-2.8. Thanks for working on this, Kuhu.

          Show
          kihwal Kihwal Lee added a comment - Committed to branch-2 and branch-2.8. Thanks for working on this, Kuhu.
          Hide
          kihwal Kihwal Lee added a comment -

          +1

          Show
          kihwal Kihwal Lee added a comment - +1
          Hide
          kshukla Kuhu Shukla added a comment -

          Requesting Kihwal Lee for review/comments. Thanks a lot!

          Show
          kshukla Kuhu Shukla added a comment - Requesting Kihwal Lee for review/comments. Thanks a lot!
          Hide
          hadoopqa Hadoop QA added a comment -
          +1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 17s Docker mode activated.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 test4tests 0m 0s The patch appears to include 1 new or modified test files.
          +1 mvninstall 8m 19s branch-2 passed
          +1 compile 0m 38s branch-2 passed with JDK v1.8.0_72
          +1 compile 0m 40s branch-2 passed with JDK v1.7.0_95
          +1 checkstyle 0m 22s branch-2 passed
          +1 mvnsite 0m 53s branch-2 passed
          +1 mvneclipse 0m 18s branch-2 passed
          +1 findbugs 1m 58s branch-2 passed
          +1 javadoc 1m 5s branch-2 passed with JDK v1.8.0_72
          +1 javadoc 1m 48s branch-2 passed with JDK v1.7.0_95
          +1 mvninstall 0m 45s the patch passed
          +1 compile 0m 36s the patch passed with JDK v1.8.0_72
          +1 javac 0m 36s the patch passed
          +1 compile 0m 39s the patch passed with JDK v1.7.0_95
          +1 javac 0m 39s the patch passed
          +1 checkstyle 0m 17s the patch passed
          +1 mvnsite 0m 48s the patch passed
          +1 mvneclipse 0m 11s the patch passed
          +1 whitespace 0m 0s Patch has no whitespace issues.
          +1 findbugs 2m 6s the patch passed
          +1 javadoc 1m 5s the patch passed with JDK v1.8.0_72
          +1 javadoc 1m 48s the patch passed with JDK v1.7.0_95
          +1 unit 59m 3s hadoop-hdfs in the patch passed with JDK v1.8.0_72.
          +1 unit 59m 6s hadoop-hdfs in the patch passed with JDK v1.7.0_95.
          +1 asflicense 0m 20s Patch does not generate ASF License warnings.
          145m 2s



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:babe025
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12790023/HDFS-9855-branch-2.001.patch
          JIRA Issue HDFS-9855
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
          uname Linux 877054b9e1e2 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
          git revision branch-2 / 872b8d9
          Default Java 1.7.0_95
          Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_72 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95
          findbugs v3.0.0
          JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/14623/testReport/
          modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/14623/console
          Powered by Apache Yetus 0.2.0-SNAPSHOT http://yetus.apache.org

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - +1 overall Vote Subsystem Runtime Comment 0 reexec 0m 17s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. +1 test4tests 0m 0s The patch appears to include 1 new or modified test files. +1 mvninstall 8m 19s branch-2 passed +1 compile 0m 38s branch-2 passed with JDK v1.8.0_72 +1 compile 0m 40s branch-2 passed with JDK v1.7.0_95 +1 checkstyle 0m 22s branch-2 passed +1 mvnsite 0m 53s branch-2 passed +1 mvneclipse 0m 18s branch-2 passed +1 findbugs 1m 58s branch-2 passed +1 javadoc 1m 5s branch-2 passed with JDK v1.8.0_72 +1 javadoc 1m 48s branch-2 passed with JDK v1.7.0_95 +1 mvninstall 0m 45s the patch passed +1 compile 0m 36s the patch passed with JDK v1.8.0_72 +1 javac 0m 36s the patch passed +1 compile 0m 39s the patch passed with JDK v1.7.0_95 +1 javac 0m 39s the patch passed +1 checkstyle 0m 17s the patch passed +1 mvnsite 0m 48s the patch passed +1 mvneclipse 0m 11s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 findbugs 2m 6s the patch passed +1 javadoc 1m 5s the patch passed with JDK v1.8.0_72 +1 javadoc 1m 48s the patch passed with JDK v1.7.0_95 +1 unit 59m 3s hadoop-hdfs in the patch passed with JDK v1.8.0_72. +1 unit 59m 6s hadoop-hdfs in the patch passed with JDK v1.7.0_95. +1 asflicense 0m 20s Patch does not generate ASF License warnings. 145m 2s Subsystem Report/Notes Docker Image:yetus/hadoop:babe025 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12790023/HDFS-9855-branch-2.001.patch JIRA Issue HDFS-9855 Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 877054b9e1e2 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision branch-2 / 872b8d9 Default Java 1.7.0_95 Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_72 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95 findbugs v3.0.0 JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/14623/testReport/ modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs Console output https://builds.apache.org/job/PreCommit-HDFS-Build/14623/console Powered by Apache Yetus 0.2.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
          Hide
          kshukla Kuhu Shukla added a comment -

          Attaching patch with work around for HDFS-8332.

          Show
          kshukla Kuhu Shukla added a comment - Attaching patch with work around for HDFS-8332 .
          Hide
          kshukla Kuhu Shukla added a comment -

          Related to the fix for HDFS-8332 not being there in branch-2 and branch-2.7. I see that it was reverted in branch-2. Will follow up on that JIRA towards a possible fix.

          Show
          kshukla Kuhu Shukla added a comment - Related to the fix for HDFS-8332 not being there in branch-2 and branch-2.7. I see that it was reverted in branch-2. Will follow up on that JIRA towards a possible fix.

            People

            • Assignee:
              kshukla Kuhu Shukla
              Reporter:
              kshukla Kuhu Shukla
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development