You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2015/09/18 20:13:04 UTC
[jira] [Commented] (HIVE-11149) Fix issue with sometimes HashMap in
PerfLogger.java hangs
[ https://issues.apache.org/jira/browse/HIVE-11149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14876076#comment-14876076 ]
Sergey Shelukhin commented on HIVE-11149:
-----------------------------------------
Hmm, looks like PerfLogger in SessionState is not thread safe. This will fix the issue on the callstack above, but couldn't two threads accessing the same session w/o "resetPerfLogger == true" still fail?
> 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.0
> Reporter: WangMeng
> Assignee: WangMeng
> Attachments: HIVE-11149.01.patch, HIVE-11149.02.patch, HIVE-11149.03.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)