[ 
https://issues.apache.org/jira/browse/HIVE-26838?focusedWorklogId=834628&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-834628
 ]

ASF GitHub Bot logged work on HIVE-26838:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/Dec/22 23:01
            Start Date: 19/Dec/22 23:01
    Worklog Time Spent: 10m 
      Work Description: saihemanth-cloudera commented on code in PR #3861:
URL: https://github.com/apache/hive/pull/3861#discussion_r1052715249


##########
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java:
##########
@@ -396,13 +396,13 @@ public void write(org.apache.thrift.protocol.TProtocol 
prot, GetFileMetadataRequ
     public void read(org.apache.thrift.protocol.TProtocol prot, 
GetFileMetadataRequest struct) throws org.apache.thrift.TException {
       org.apache.thrift.protocol.TTupleProtocol iprot = 
(org.apache.thrift.protocol.TTupleProtocol) prot;
       {
-        org.apache.thrift.protocol.TList _list1017 = 
iprot.readListBegin(org.apache.thrift.protocol.TType.I64);
-        struct.fileIds = new 
java.util.ArrayList<java.lang.Long>(_list1017.size);
-        long _elem1018;
-        for (int _i1019 = 0; _i1019 < _list1017.size; ++_i1019)
+        org.apache.thrift.protocol.TList _list1027 = 
iprot.readListBegin(org.apache.thrift.protocol.TType.I64);

Review Comment:
   These changes occur with the change in the FireEventRequest object. I did a 
lot of tests around this on why so many thrift files are changing when I 
changed the FireEventRequest object but I couldn't figure out a reason.





Issue Time Tracking
-------------------

    Worklog Id:     (was: 834628)
    Time Spent: 1h 50m  (was: 1h 40m)

> Add a new event to improve cache performance in external systems that 
> communicates with HMS.
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-26838
>                 URL: https://issues.apache.org/jira/browse/HIVE-26838
>             Project: Hive
>          Issue Type: New Feature
>          Components: Hive, Standalone Metastore
>            Reporter: Sai Hemanth Gantasala
>            Assignee: Sai Hemanth Gantasala
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Adding support for a new event "Reload event" in the HMS (HiveMetaStore). 
> This event can be used by external services that depend on HMS for metadata 
> operations to improve its cache performance. In the distributed environment 
> where there are replicas of an external service (with its own cache in each 
> of these replicas) talking to HMS for metadata operations, the reload event 
> can be used to address the cache performance and ensure consistency among all 
> the replicas for a given table/partition.



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

Reply via email to