Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12043

Large catalog info triggers "TTransportException: MaxMessageSize reached"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 4.2.0
    • Impala 4.3.0
    • Catalog
    • None
    • ghx-label-2

    Description

      Large results from something like COMPUTE INCREMENTAL STATS can result in a warning like

      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)
      

      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 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.

      Attachments

        Issue Links

          Activity

            People

              rizaon Riza Suminto
              MikaelSmith Michael Smith
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: