[
https://issues.apache.org/jira/browse/IMPALA-9383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Tauber-Marshall resolved IMPALA-9383.
--------------------------------------------
Fix Version/s: Impala 3.4.0
Resolution: Fixed
> HS2 HTTP server hangs on large chunked requests
> -----------------------------------------------
>
> Key: IMPALA-9383
> URL: https://issues.apache.org/jira/browse/IMPALA-9383
> Project: IMPALA
> Issue Type: Bug
> Reporter: Thomas Tauber-Marshall
> Assignee: Thomas Tauber-Marshall
> Priority: Critical
> Fix For: Impala 3.4.0
>
>
> There's a bug in THttpTransport that causes it to hang when sent a large,
> chunked request.
> The issue is that in each call to THttpTransport::read(), it always starts by
> calling refill() which reads more data off the socket, but for chunked
> requests each call to read() only processes a single chunk.
> So, if more than one chunk is read off the socket at a time, you can end up
> with more chunks still needing to be processed but no more data to read off
> the socket, and the next call to THttpTransport::read() will hang when it
> calls refill().
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]