This is an automated email from the ASF dual-hosted git repository.
dkuzmenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new 49ef1d22817 HIVE-28369: Fix LLAP cache proactive eviction (Seonggon
Namgung, reviewed by Denys Kuzmenko, Kokila N)
49ef1d22817 is described below
commit 49ef1d22817501ab07051defb78f1be5eae57d19
Author: seonggon <[email protected]>
AuthorDate: Mon Jul 15 19:36:50 2024 +0900
HIVE-28369: Fix LLAP cache proactive eviction (Seonggon Namgung, reviewed
by Denys Kuzmenko, Kokila N)
Closes #5345
---
.../src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapIoImpl.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapIoImpl.java
b/llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapIoImpl.java
index 0344b252c54..22407d8a2e3 100644
---
a/llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapIoImpl.java
+++
b/llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapIoImpl.java
@@ -310,7 +310,9 @@ public class LlapIoImpl implements
LlapIo<VectorizedRowBatch>, LlapIoDebugDump {
long markedBytes = dataCache.markBuffersForProactiveEviction(predicate,
isInstantDeallocation);
markedBytes +=
fileMetadataCache.markBuffersForProactiveEviction(predicate,
isInstantDeallocation);
- markedBytes += serdeCache.markBuffersForProactiveEviction(predicate,
isInstantDeallocation);
+ if (serdeCache != null) {
+ markedBytes += serdeCache.markBuffersForProactiveEviction(predicate,
isInstantDeallocation);
+ }
// Signal mark phase of proactive eviction was done
if (markedBytes > 0) {