You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hai Xu (JIRA)" <ji...@apache.org> on 2016/02/17 11:49:18 UTC

[jira] [Updated] (HIVE-13073) HCatContext.setConf() is synchronized, but HCatContext.getConf() is unsynchronized

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

Hai Xu updated HIVE-13073:
--------------------------
    Attachment: HIVE-13073.patch

> HCatContext.setConf() is synchronized, but HCatContext.getConf() is unsynchronized
> ----------------------------------------------------------------------------------
>
>                 Key: HIVE-13073
>                 URL: https://issues.apache.org/jira/browse/HIVE-13073
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Hai Xu
>         Attachments: HIVE-13073.patch
>
>
> HCatContext.setConf() is synchronized, but HCatContext.getConf() is unsynchronized. This may result in incorrect behavior at runtime,  not necessarily see a consistent state for the object.  The getConf() method should be made synchronized.



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