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

[jira] [Created] (IMPALA-11548) TTransportException can be thrown for RPC connection that is open for long time

Riza Suminto created IMPALA-11548:
-------------------------------------

             Summary: TTransportException can be thrown for RPC connection that is open for long time
                 Key: IMPALA-11548
                 URL: https://issues.apache.org/jira/browse/IMPALA-11548
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
    Affects Versions: Impala 4.2.0
            Reporter: Riza Suminto
            Assignee: Riza Suminto


After Impala upgrade CPP thrift version to 0.16.0, we are seeing TTransportException thrown for RPC connection that is open for long time.

thrift-0.16.0 add counter to limit message size at [https://github.com/apache/thrift/commit/63213c1].
The TTransportException is thrown when remainingMessageSize < numBytes, indicating that TTransport was not flushed properly.
This is presumably due to the fact that both input_ and output_ TProtocol within TAcceptQueueServer::Task has different TTransport object within them. Letting both input_ and output_to share the same TTransport object might fix the flushing mechanism and properly reset the limit counter of the shared TTransport.

See:
[https://github.com/apache/impala/blob/fec7a79c50de9ef5db2c652ece111aaa303d57c7/be/src/transport/TSaslServerTransport.cpp#L132-L146] 



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