Butao Zhang created HIVE-29281:
----------------------------------

             Summary: Make proactive cache eviction work with catalog
                 Key: HIVE-29281
                 URL: https://issues.apache.org/jira/browse/HIVE-29281
             Project: Hive
          Issue Type: Sub-task
            Reporter: Butao Zhang


Proactive LLAP cache eviction was introduced in HIVE-22820. But this feature 
didn't add catalog field.

We need to consider to add catalog field to it to make it work in case of there 
are multiple catalogs.

Proactive LLAP cache eviction was used several places. such as 

[https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/DropDatabaseHandler.java]
{code:java}
      if (LlapHiveUtils.isLlapMode(context.getConf())) {
        ProactiveEviction.Request.Builder llapEvictRequestBuilder = 
ProactiveEviction.Request.Builder.create();
        llapEvictRequestBuilder.addDb(dbName);
        ProactiveEviction.evict(context.getConf(), 
llapEvictRequestBuilder.build());
      } {code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to