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

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

                Author: ASF GitHub Bot
            Created on: 05/Mar/20 10:22
            Start Date: 05/Mar/20 10:22
    Worklog Time Spent: 10m 
      Work Description: szlta commented on pull request #909: HIVE-22821
URL: https://github.com/apache/hive/pull/909#discussion_r388200796
 
 

 ##########
 File path: 
llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/LlapProtocolServerImpl.java
 ##########
 @@ -333,6 +333,23 @@ public GetTokenResponseProto 
getDelegationToken(RpcController controller,
     }
   }
 
+  @Override
+  public LlapDaemonProtocolProtos.EvictEntityResponseProto evictEntity(
+      RpcController controller, 
LlapDaemonProtocolProtos.EvictEntityRequestProto protoRequest)
+      throws ServiceException {
+    LlapDaemonProtocolProtos.EvictEntityResponseProto.Builder 
responseProtoBuilder =
+        LlapDaemonProtocolProtos.EvictEntityResponseProto.newBuilder();
+
+    LlapIo<?> llapIo = LlapProxy.getIo();
+    if (llapIo != null) {
+      llapIo.evictEntity(protoRequest);
+      responseProtoBuilder.setAck(true);
 
 Review comment:
   Yes, ff we opt to get rid of async stuff this will make sense to do
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

    Worklog Id:     (was: 398267)
    Time Spent: 1h 40m  (was: 1.5h)

> Add necessary endpoints for proactive cache eviction
> ----------------------------------------------------
>
>                 Key: HIVE-22821
>                 URL: https://issues.apache.org/jira/browse/HIVE-22821
>             Project: Hive
>          Issue Type: Sub-task
>          Components: llap
>            Reporter: Ádám Szita
>            Assignee: Ádám Szita
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-22821.0.patch, HIVE-22821.1.patch, 
> HIVE-22821.2.patch
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Implement the parts required for iHS2 -> LLAP daemons communication:
>  * protobuf message schema and endpoints
>  * Hive configuration
>  * for use cases:
>  ** dropping db
>  ** dropping table
>  ** dropping partition from a table



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

Reply via email to