[
https://issues.apache.org/jira/browse/HIVE-22821?focusedWorklogId=389570&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-389570
]
ASF GitHub Bot logged work on HIVE-22821:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 19/Feb/20 19:18
Start Date: 19/Feb/20 19:18
Worklog Time Spent: 10m
Work Description: b-slim commented on pull request #909: HIVE-22821
URL: https://github.com/apache/hive/pull/909#discussion_r381452847
##########
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:
how about we do like for purge we return the amount of data purged ?
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 389570)
Time Spent: 40m (was: 0.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: 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)