You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Naveen Gangam (Jira)" <ji...@apache.org> on 2020/06/15 18:12:00 UTC
[jira] [Resolved] (HIVE-19624) the method closeSession of
SessionManager has a synchronized, is it able to be removed?
[ https://issues.apache.org/jira/browse/HIVE-19624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Naveen Gangam resolved HIVE-19624.
----------------------------------
Fix Version/s: 4.0.0
Resolution: Duplicate
Looks like this issue has been addressed via HIVE-22165. Closing this jira as duplicate.
> the method closeSession of SessionManager has a synchronized, is it able to be removed?
> ----------------------------------------------------------------------------------------
>
> Key: HIVE-19624
> URL: https://issues.apache.org/jira/browse/HIVE-19624
> Project: Hive
> Issue Type: Wish
> Components: HiveServer2
> Affects Versions: 2.1.1
> Reporter: xulongfetion
> Assignee: Naveen Gangam
> Priority: Minor
> Fix For: 4.0.0
>
>
> The methods closeSession of
> org.apache.hive.service.cli.session.SessionManager use
> synchronized for thread safe, i looked at the code and wonder why there's need for synchronized.
> Because closeSession sometimes use the hadoop ipc call and takes too much time to response, so if it is possible to remove the keyword synchronized.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)