XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 2.0.0
    • Sentry
    • None

    Description

      When I run the TestHDFSIntegrationEnd2End test from sentry-ha-redesign branch, I get

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegrationEnd2End
      Tests run: 6, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 142.788 sec <<< FAILURE! - in org.apa
      che.sentry.tests.e2e.hdfs.TestHDFSIntegrationEnd2End
      testColumnPrivileges(org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegrationEnd2End)  Time elapsed: 15.0
      14 sec  <<< FAILURE!
      java.lang.AssertionError: Error at verifying Path action : /user/hive/warehouse/db2.db/p1 ; expected:
      <READ_EXECUTE> but was:<null>
              at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegrationEnd2End.testColumnPrivileges(TestHDFSI
      ntegrationEnd2End.java:505)
      
      
      Results :
      
      Flaked tests:
      org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegrationEnd2End.testColumnPrivileges(org.apache.sentry.te
      sts.e2e.hdfs.TestHDFSIntegrationEnd2End)
        Run 1: TestHDFSIntegrationEnd2End.testColumnPrivileges:505->TestHDFSIntegrationBase.verifyOnAllSubDirs:186->TestHDFSIntegrationBase.verifyOnAllSubDirs:205->TestHDFSIntegrationBase.verifyOnAllSubDirs:209->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:234->TestHDFSIntegrationBase.verifyOnAllSubDirsHelper:224 Error at verifying Path action : /user/hive/warehouse/db2.db/p1 ; expected:<READ_EXECUTE> but was:<null>
        Run 2: PASS
      
      
      Tests run: 5, Failures: 0, Errors: 0, Skipped: 2, Flakes: 1
      

      I run the test with

      mvn clean -pl sentry-tests/sentry-tests-hive -am -DfailIfNoTests=false -Dtest=TestHDFSIntegrationEnd2End test
      

      Attachments

        Issue Links

          Activity

            People

              linaataustin Na Li
              akolb Alex Kolbasov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: