eye-gu commented on code in PR #18331:
URL: 
https://github.com/apache/dolphinscheduler/pull/18331#discussion_r3379914340


##########
dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-hive/src/main/java/org/apache/dolphinscheduler/plugin/datasource/hive/security/UserGroupInformationFactory.java:
##########
@@ -39,7 +40,7 @@ public class UserGroupInformationFactory {
 
     private static final Map<String, Integer> currentLoginTimesMap = new 
HashMap<>();
 
-    private static final Map<String, UserGroupInformation> 
userGroupInformationMap = new HashMap<>();
+    private static final Map<String, UserGroupInformation> 
userGroupInformationMap = new ConcurrentHashMap<>();

Review Comment:
   Added.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to