[
https://issues.apache.org/jira/browse/IMPALA-15367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18146051#comment-18146051
]
ASF subversion and git services commented on IMPALA-15367:
----------------------------------------------------------
Commit b3d267182cc8357e4344e399c727b981ac62f5f6 in impala's branch
refs/heads/master from Aleksandr Efimov
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=b3d267182c ]
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
Reviewed-on: https://gerrit.cloudera.org/25417
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> Bump thrift to 0.24.0 - java parts
> ----------------------------------
>
> Key: IMPALA-15367
> URL: https://issues.apache.org/jira/browse/IMPALA-15367
> Project: IMPALA
> Issue Type: Improvement
> Components: Frontend
> Reporter: Csaba Ringhofer
> Priority: Major
> Fix For: Impala 5.0.0
>
>
> This can become complex due to the close dependency on Hive - the version
> Impala uses still has Thrift 0.16.0. Hive is still in progress with the same
> bump: HIVE-30041
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]