[ https://issues.apache.org/jira/browse/HIVE-22825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17030744#comment-17030744 ]
Ashutosh Chauhan commented on HIVE-22825: ----------------------------------------- 1. There is no invalidation of cache yet. Is that not needed or this is experimental only? 2. I will suggest to change config hive.txn.acid.dir.cache.enabled to hive.txn.acid.dir.cache.duration with default value of -1 meaning disabled. And positive value used as expiry for cache duration. (making 30mins configurable) > Reduce directory lookup cost for acid tables > -------------------------------------------- > > Key: HIVE-22825 > URL: https://issues.apache.org/jira/browse/HIVE-22825 > Project: Hive > Issue Type: Improvement > Components: Hive > Reporter: Rajesh Balamohan > Assignee: Rajesh Balamohan > Priority: Minor > Attachments: HIVE-22825.1.patch, HIVE-22825.2.patch, > HIVE-22825.3.patch > > > With objectstores, directory lookup costs are expensive. For acid tables, it > would be good to have a directory cache to reduce number of lookup calls. -- This message was sent by Atlassian Jira (v8.3.4#803005)