You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2018/04/06 18:06:00 UTC

[jira] [Commented] (HIVE-19127) Concurrency fixes in QueryResultsCache

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

Jason Dere commented on HIVE-19127:
-----------------------------------

RB at https://reviews.apache.org/r/66486/

> Concurrency fixes in QueryResultsCache
> --------------------------------------
>
>                 Key: HIVE-19127
>                 URL: https://issues.apache.org/jira/browse/HIVE-19127
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>            Priority: Major
>         Attachments: HIVE-19127.1.patch
>
>
> A few fixes around concurrent access in the results cache
> - Take a lock on the cache entry when in the process of setting the cache entry from PENDING state to VALID state, so that other threads cannot invalidate the entry
> - The write lock on the cache was not being taken when removing an entry from the cache.
> - synchronize access when iterating through the lru keyset



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)