hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13699) Make JavaDataModel#get thread safe for parallel compilation
Date Wed, 18 May 2016 17:41:12 GMT

    [ https://issues.apache.org/jira/browse/HIVE-13699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15289407#comment-15289407
] 

Ashutosh Chauhan commented on HIVE-13699:
-----------------------------------------

Please use slf4j Logger instead of apache-commons Log. Otherwise, patch looks good. 
Have you seen issues because of this static method in parallel compilation? If so, how it
manifested or is it just a preemptive patch.

> Make JavaDataModel#get thread safe for parallel compilation
> -----------------------------------------------------------
>
>                 Key: HIVE-13699
>                 URL: https://issues.apache.org/jira/browse/HIVE-13699
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2, storage-api
>    Affects Versions: 2.0.0
>            Reporter: Peter Slawski
>            Assignee: Peter Slawski
>            Priority: Minor
>         Attachments: HIVE-13699.1.patch
>
>
> The class JavaDataModel has a static method, #get, that is not thread safe. This may
be an issue when parallel query compilation is enabled because two threads may attempt to
call JavaDataModel#get at the same time, etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message