Hello Quanlong Huang, Riza Suminto, Mihaly Szjatinya, Joe McDonnell, Csaba 
Ringhofer, Michael Smith, 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 (#3).

Change subject: IMPALA-15789: Fix JNI message size limit
......................................................................

IMPALA-15789: Fix JNI message size limit

The Java Thrift 0.16 to 0.24 upgrade in IMPALA-15367 exposed a
100 MiB memory-transport limit in JNI decoding and partial catalog
replies, after the complete message has already reached Java.

Use the input byte-array length as the transport budget. Preserve
the caller's protocol factory and checked-exception behavior. Add a
raw Thrift decoder so catalog replies retain the original TException
without double wrapping. Thrift 0.11 keeps its unlimited behavior.

Testing:
- Nine JNI/provider tests pass with Thrift 0.11 and 0.24.
- A local-catalog table with 350,000 empty files produces a
  106,400,213-byte partial catalog reply. The parent fails at the
  100 MiB limit; COUNT(*) and cold-cache COMPUTE STATS pass with
  the fix. COMPUTE STATS updates one partition and one column.
- Integration used retained native binaries with size-only logging
  at the JNI response boundary.

Assisted-by: gpt-6.1-sol (Codex)
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, 219 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/17/25417/3
--
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: 3
Gerrit-Owner: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Mihaly Szjatinya <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>

Reply via email to