You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Dapeng Sun (JIRA)" <ji...@apache.org> on 2015/02/06 08:39:34 UTC

[jira] [Commented] (SENTRY-610) [Unit Test] TestDbPrivilegeAtTransform (and others) failing with NullPointerException @ HiveServer2.stop(HiveServer2.java:273)

    [ https://issues.apache.org/jira/browse/SENTRY-610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14308781#comment-14308781 ] 

Dapeng Sun commented on SENTRY-610:
-----------------------------------

Will handle the NullPointerException in SENTRY-609.

> [Unit Test]  TestDbPrivilegeAtTransform (and others) failing with NullPointerException @ HiveServer2.stop(HiveServer2.java:273)
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-610
>                 URL: https://issues.apache.org/jira/browse/SENTRY-610
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Lenni Kuff
>            Assignee: Dapeng Sun
>            Priority: Blocker
>             Fix For: 1.5.0
>
>
> 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:
> {code}
> 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)
> {code}
> Could be related to SENTRY-609 which also caused many test failures.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)