Aleksandr Efimov created IMPALA-15789:
-----------------------------------------

             Summary: Thrift memory limit rejects large JNI messages and 
catalog replies
                 Key: IMPALA-15789
                 URL: https://issues.apache.org/jira/browse/IMPALA-15789
             Project: IMPALA
          Issue Type: Bug
            Reporter: Aleksandr Efimov


On Impala master `59eccbc101` with Java Thrift 0.24, 
`JniUtil.deserializeThrift()` and `CatalogdMetaProvider.sendRequest()` use a 
default TDeserializer. Its 100 MiB limit can reject complete messages received 
through JNI, failing large statistics updates and metadata loading.

A TGetTablesResult containing 12,801 strings of 8,192 characters reproduces the 
limit. JNI decoding should accept valid messages larger than this default while 
continuing to reject malformed input.

IMPALA-12043 addressed the separate catalog-update TByteBuffer path. These 
default-deserializer paths remain unchanged.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to