[
https://issues.apache.org/jira/browse/HIVE-11149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chengbing Liu updated HIVE-11149:
---------------------------------
Attachment: HIVE-11149.04.patch
Attached HIVE-11149.04.patch.
Since multiple threads may share a session, we should not cache {{perfLogger}}
as a member of {{SessionState}}.
I also make the {{PerfLogger}} constructor private so that the only way to get
an instance is by calling {{getPerfLogger}}.
> Fix issue with sometimes HashMap in PerfLogger.java hangs
> ----------------------------------------------------------
>
> Key: HIVE-11149
> URL: https://issues.apache.org/jira/browse/HIVE-11149
> Project: Hive
> Issue Type: Bug
> Components: Logging
> Affects Versions: 1.2.1
> Reporter: WangMeng
> Assignee: WangMeng
> Attachments: HIVE-11149.01.patch, HIVE-11149.02.patch,
> HIVE-11149.03.patch, HIVE-11149.04.patch
>
>
> In Multi-thread environment, sometimes the HashMap in PerfLogger.java
> will casue massive Java Processes hang and cost large amounts of
> unnecessary CPU and Memory.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)