hive-issues mailing list archives

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


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:
>             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

View raw message