You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Riza Suminto (Jira)" <ji...@apache.org> on 2023/04/08 18:49:00 UTC

[jira] [Work started] (IMPALA-12043) Large catalog info triggers "TTransportException: MaxMessageSize reached"

     [ https://issues.apache.org/jira/browse/IMPALA-12043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on IMPALA-12043 started by Riza Suminto.
---------------------------------------------
> Large catalog info triggers "TTransportException: MaxMessageSize reached"
> -------------------------------------------------------------------------
>
>                 Key: IMPALA-12043
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12043
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Catalog
>    Affects Versions: Impala 4.2.0
>            Reporter: Michael Smith
>            Assignee: Riza Suminto
>            Priority: Major
>
> Large results from something like {{COMPUTE INCREMENTAL STATS}} can result in a warning like
> {code}
> W0402 18:19:03.456277 250159 CatalogdMetaProvider.java:1235] 774b8a34875b106f:71548b8b00000000] Unable to deserialize updated catalog info. Skipping cache invalidation which may result in stale metadata being used at this coordinator.
> Java exception follows:
> org.apache.thrift.transport.TTransportException: MaxMessageSize reached
> 	at org.apache.thrift.transport.TEndpointTransport.resetConsumedMessageSize(TEndpointTransport.java:58)
> {code}
> This happens when https://github.com/apache/impala/blob/master/fe/src/main/java/org/apache/impala/catalog/local/CatalogdMetaProvider.java#L1231 receives a buffer through the JNI from NativeGetNextCatalogObjectUpdate that exceeds 100MB. [TByteBuffer|https://www.javadoc.io/doc/org.apache.thrift/libthrift/0.16.0/org/apache/thrift/transport/TByteBuffer.html] inherits from TEndpointTransport, which in Thrift 0.16.0 adds a MaxMessageSize limit. TMemoryBuffer adds a constructor that allows passing in a TConfiguration object to customize the limit, which we make use of in IMPALA-11669, but TByteBuffer does not provide a similar interface (THRIFT-5696) and was overlooked.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org