Hello Riza Suminto, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
https://gerrit.cloudera.org/25417
to look at the new patch set (#2).
Change subject: IMPALA-15789: Fix JNI message size limit
......................................................................
IMPALA-15789: Fix JNI message size limit
The default Thrift memory-transport budget rejects messages larger than
100 MiB in JNI deserialization and partial catalog replies. This can
fail statistics updates and metadata loading after the complete message
has already reached Java.
Use the input byte-array length as the memory transport budget. Retain
the caller's protocol factory and exception handling. Thrift 0.11 has
no memory-transport budget and keeps its existing behavior. Route partial
catalog replies through the same decoder.
Testing:
- Exact changed classes and tests compiled in a focused Linux environment.
- Thrift 0.24 baseline reproduces the 100 MiB failure.
- Nine JNI/provider tests pass with Thrift 0.11 and 0.24, including binary
and compact messages over 100 MiB and malformed-input checks.
Assisted-by: gpt-6.1-sol
Change-Id: I387ad6446b7a8ac525bbfd623e1644e95fd04ed7
---
M fe/src/main/java/org/apache/impala/catalog/local/CatalogdMetaProvider.java
M fe/src/main/java/org/apache/impala/common/JniUtil.java
A
fe/src/test/java/org/apache/impala/catalog/local/CatalogdMetaProviderResponseTest.java
A fe/src/test/java/org/apache/impala/util/JniUtilDeserializeTest.java
4 files changed, 209 insertions(+), 3 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/17/25417/2
--
To view, visit https://gerrit.cloudera.org/25417
To unsubscribe, visit https://gerrit.cloudera.org/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I387ad6446b7a8ac525bbfd623e1644e95fd04ed7
Gerrit-Change-Number: 25417
Gerrit-PatchSet: 2
Gerrit-Owner: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>