[
https://issues.apache.org/jira/browse/HIVE-22821?focusedWorklogId=398262&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-398262
]
ASF GitHub Bot logged work on HIVE-22821:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 05/Mar/20 10:16
Start Date: 05/Mar/20 10:16
Worklog Time Spent: 10m
Work Description: szlta commented on pull request #909: HIVE-22821
URL: https://github.com/apache/hive/pull/909#discussion_r388197920
##########
File path:
llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapIoImpl.java
##########
@@ -221,6 +227,9 @@ public void debugDumpShort(StringBuilder sb) {
metadataCache, dataCache, bufferManagerOrc, conf, cacheMetrics,
ioMetrics, tracePool);
this.genericCvp = isEncodeEnabled ? new GenericColumnVectorProducer(
serdeCache, bufferManagerGeneric, conf, cacheMetrics, ioMetrics,
tracePool) : null;
+ proactiveEvictionExecutor = Executors.newSingleThreadExecutor(
Review comment:
I guess I just wanted to make sure that this operation is completely
decoupled from the rest of threads.
On daemon side you're right we'd be in an RPC handler thread while doing
this eviction. My idea was that this request should return as fast as possible
and don't even interfere with the RPC threads. Hence the void return value btw.
On HS2 side in ProactiveEviction we already use an executor service to send
the eviction request.
So it's decoupled on HS2 too. If you feel that's enough I'll remove the
additional async part on the daemon side.
----------------------------------------------------------------
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: 398262)
Time Spent: 50m (was: 40m)
> 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: 50m
> 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)