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

Gopal Vijayaraghavan commented on HIVE-22745:
---------------------------------------------

 HIVE-20801 is pretty much complete and has a +1, needs a rebase + commit.

This config name needs to be switched over to indicate it relies on the Cleaner 
(let me get a WIP for that today & send it to you).

So these two tie to this config 

https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionTxnHandler.java#L258
+
https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionTxnHandler.java#L335

So even without readlocks we can have a cleaner work safely by using 

        long minUncommittedTxnId = findMinOpenTxnGLB(stmt);

to slow the cleaner pass.

> Config option to turn off read locks
> ------------------------------------
>
>                 Key: HIVE-22745
>                 URL: https://issues.apache.org/jira/browse/HIVE-22745
>             Project: Hive
>          Issue Type: Improvement
>          Components: Transactions
>            Reporter: Ashutosh Chauhan
>            Assignee: Slim Bouguerra
>            Priority: Major
>         Attachments: HIVE-22745.2.patch, HIVE-22745.patch
>
>
> Although its not recommended but in perf critical scenario this option may be 
> exercised. We have observed lock acquisition to take long time in heavily 
> loaded system. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to