Teddy Choi created HIVE-20368:

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

VectorTopNKeyOperator has a lock in line 199 as following.
priorityQueue.offer(WritableUtils.clone(keysWritable, getConfiguration()));
WritableUtils.clone calls Confgiruation.getClassByNameOrNull that has 
synchronized block. So it needs to run without locks.

This message was sent by Atlassian JIRA

Reply via email to