[ https://issues.apache.org/jira/browse/HIVE-20016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16530472#comment-16530472 ]
Aihua Xu commented on HIVE-20016: --------------------------------- Findbugs warning seems not applicable but how about TestHS2AuthzContext? Checked the tests and don't feel it's related. Can we rerun to make sure they pass if they are flaky? Also do you think we should use synchronized(authenticator or an auth lock) {} block so it will sync with other methods? BTW: I created HIVE-20053. I feel we can use Singleton for HiveAuth to initialize once so we can solve this issue but I notice a few session related info is used in setupAuth(). > Investigate TestJdbcWithMiniHS2.testParallelCompilation3 random failure > ----------------------------------------------------------------------- > > Key: HIVE-20016 > URL: https://issues.apache.org/jira/browse/HIVE-20016 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 4.0.0 > Reporter: Yongzhi Chen > Assignee: Yongzhi Chen > Priority: Major > Attachments: HIVE-20016.1.patch > > > org.apache.hive.jdbc.TestJdbcWithMiniHS2.testParallelCompilation3 failed with: > java.lang.AssertionError: Concurrent Statement failed: > org.apache.hive.service.cli.HiveSQLException: java.lang.AssertionError: > Authorization plugins not initialized! > at org.junit.Assert.fail(Assert.java:88) > at > org.apache.hive.jdbc.TestJdbcWithMiniHS2.finishTasks(TestJdbcWithMiniHS2.java:374) > at > org.apache.hive.jdbc.TestJdbcWithMiniHS2.testParallelCompilation3(TestJdbcWithMiniHS2.java:304) -- This message was sent by Atlassian JIRA (v7.6.3#76005)