This is an automated email from the ASF dual-hosted git repository.
sunchao pushed a commit to branch branch-2.3
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/branch-2.3 by this push:
new 0b8dc8b040e HIVE-20016: Investigate
TestJdbcWithMiniHS2.testParallelCompilation3 random failure (Yongzhi Chen,
reviewed by Aihua Xu) (#5227)
0b8dc8b040e is described below
commit 0b8dc8b040e8a58d8fd85f5364ef5f9608f99ecb
Author: Cheng Pan <[email protected]>
AuthorDate: Wed May 1 00:05:35 2024 +0800
HIVE-20016: Investigate TestJdbcWithMiniHS2.testParallelCompilation3 random
failure (Yongzhi Chen, reviewed by Aihua Xu) (#5227)
Co-authored-by: Yongzhi Chen <[email protected]>
---
ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java
b/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java
index 6add74c2cd8..a0a0ed76141 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java
@@ -849,7 +849,7 @@ public class SessionState {
/**
* Setup authentication and authorization plugins for this session.
*/
- private void setupAuth() {
+ private synchronized void setupAuth() {
if (authenticator != null) {
// auth has been initialized