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

2018-04-09 Thread Jason Dere (JIRA)

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

Jason Dere updated HIVE-19127:
--
   Resolution: Fixed
Fix Version/s: 3.0.0
   Status: Resolved  (was: Patch Available)

Committed to master and branch-3

> 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
> Fix For: 3.0.0
>
> Attachments: HIVE-19127.1.patch, HIVE-19127.2.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)


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

2018-04-09 Thread Jason Dere (JIRA)

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

Jason Dere updated HIVE-19127:
--
Status: Patch Available  (was: Open)

> 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, HIVE-19127.2.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)


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

2018-04-09 Thread Jason Dere (JIRA)

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

Jason Dere updated HIVE-19127:
--
Status: Open  (was: Patch Available)

> 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, HIVE-19127.2.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)


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

2018-04-09 Thread Jason Dere (JIRA)

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

Jason Dere updated HIVE-19127:
--
Attachment: HIVE-19127.2.patch

> 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, HIVE-19127.2.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)


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

2018-04-06 Thread Jason Dere (JIRA)

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

Jason Dere updated HIVE-19127:
--
Status: Patch Available  (was: Open)

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


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

2018-04-06 Thread Jason Dere (JIRA)

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

Jason Dere updated HIVE-19127:
--
Attachment: HIVE-19127.1.patch

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