Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-794

TestHDFSIntegrationWithHA#testEnd2End fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:
      None

      Description

      org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegrationWithHA.testEnd2End
      
      Error Message
      
      expected:<WRITE_EXECUTE> but was:<null>
      Stacktrace
      
      junit.framework.AssertionFailedError: expected:<WRITE_EXECUTE> but was:<null>
      	at junit.framework.Assert.fail(Assert.java:50)
      	at junit.framework.Assert.failNotEquals(Assert.java:287)
      	at junit.framework.Assert.assertEquals(Assert.java:67)
      	at junit.framework.Assert.assertEquals(Assert.java:74)
      	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:1013)
      	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:1020)
      	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:1020)
      	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:1020)
      	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:1020)
      	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:1020)
      	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:1020)
      	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:1020)
      	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:1020)
      	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:1020)
      	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:1020)
      	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:1005)
      	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.verifyOnAllSubDirs(TestHDFSIntegration.java:997)
      	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.testEnd2End(TestHDFSIntegration.java:628)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:483)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:69)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:48)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      

        Attachments

        1. SENTRY-794.patch
          12 kB
          Sravya Tirukkovalur

          Activity

            People

            • Assignee:
              sravya Sravya Tirukkovalur
              Reporter:
              sravya Sravya Tirukkovalur
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: