You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2013/01/11 21:06:13 UTC

[jira] [Reopened] (HIVE-3857) HiveHistoryViewer concurrency problem

     [ https://issues.apache.org/jira/browse/HIVE-3857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashutosh Chauhan reopened HIVE-3857:
------------------------------------

      Assignee: qiangwang

This is not committed yet. Reopening for review.
                
> HiveHistoryViewer concurrency problem
> -------------------------------------
>
>                 Key: HIVE-3857
>                 URL: https://issues.apache.org/jira/browse/HIVE-3857
>             Project: Hive
>          Issue Type: Bug
>          Components: Logging
>            Reporter: qiangwang
>            Assignee: qiangwang
>            Priority: Minor
>         Attachments: HiveHistory.patch
>
>
> new HiveHistoryViewer() throws ConcurrentModificationException when called concurrently by several threads.
> According to the stacktrace, HiveHistory.parseLine use "private static Map<String, String> parseBuffer" to store parsed data and this finally caused the exception.
> I don't know why a static buffer rather than a local buffer is used!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira