[ https://issues.apache.org/jira/browse/HIVE-20368?focusedWorklogId=446677&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-446677
]
ASF GitHub Bot logged work on HIVE-20368:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Jun/20 16:53
Start Date: 16/Jun/20 16:53
Worklog Time Spent: 10m
Work Description: github-actions[bot] closed pull request #414:
URL: https://github.com/apache/hive/pull/414
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Issue Time Tracking
-------------------
Worklog Id: (was: 446677)
Time Spent: 20m (was: 10m)
> Remove VectorTopNKeyOperator lock
> ---------------------------------
>
> Key: HIVE-20368
> URL: https://issues.apache.org/jira/browse/HIVE-20368
> Project: Hive
> Issue Type: Bug
> Reporter: Teddy Choi
> Assignee: Teddy Choi
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0, 3.2.0
>
> Attachments: HIVE-20368.1.patch, HIVE-20368.2.patch, HIVE-20368.2.patch
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> VectorTopNKeyOperator has a lock in line 199 as following.
> {code:java}
> priorityQueue.offer(WritableUtils.clone(keysWritable, getConfiguration()));
> {code}
> WritableUtils.clone calls Confgiruation.getClassByNameOrNull that has synchronized block.
So it needs to run without locks.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
|