Details
-
Sub-task
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
1.5.0
-
None
-
None
Description
Many tests are failing in this run https://builds.apache.org/job/Sentry-jdk-1.7/196/org.apache.sentry$sentry-tests-hive/testReport/org.apache.sentry.tests.e2e.dbprovider/TestDbPrivilegeAtTransform/org_apache_sentry_tests_e2e_dbprovider_TestDbPrivilegeAtTransform_2/ with the following stacktrace:
Stacktrace
java.lang.NullPointerException: null
at org.apache.hive.service.server.HiveServer2.stop(HiveServer2.java:273)
at org.apache.sentry.tests.e2e.hive.hiveserver.InternalHiveServer.shutdown(InternalHiveServer.java:45)
at org.apache.sentry.tests.e2e.hive.AbstractTestWithStaticConfiguration.tearDownTestStaticConfiguration(AbstractTestWithStaticConfiguration.java:464)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:36)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
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)
Could be related to SENTRY-609 which also caused many test failures.