Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
2.1.1
-
None
Description
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.
Attachments
Issue Links
- is fixed by
-
HIVE-22165 Synchronisation introduced by HIVE-14296 on SessionManager.closeSession causes high latency in a busy hive server
- Closed