You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2023/11/07 10:36:00 UTC
[jira] [Resolved] (IMPALA-12511) Confusing timeout logs due to THRIFT-5670
[ https://issues.apache.org/jira/browse/IMPALA-12511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Quanlong Huang resolved IMPALA-12511.
-------------------------------------
Fix Version/s: Impala 4.4.0
Resolution: Fixed
> Confusing timeout logs due to THRIFT-5670
> -----------------------------------------
>
> Key: IMPALA-12511
> URL: https://issues.apache.org/jira/browse/IMPALA-12511
> Project: IMPALA
> Issue Type: Bug
> Reporter: Quanlong Huang
> Assignee: Quanlong Huang
> Priority: Major
> Fix For: Impala 4.4.0
>
>
> When the client has no activities but keep the connection opened, coordinator will log the following message every 30 seconds:
> {noformat}
> I1017 17:14:55.800310 195900 thrift-util.cc:106] TSocket::read() THRIFT_EAGAIN (timed out) after %f ms: Unknown error 30000
> I1017 17:15:25.830340 195900 thrift-util.cc:106] TSocket::read() THRIFT_EAGAIN (timed out) after %f ms: Unknown error 30000
> {noformat}
> 30000 here is the timeout value but not an "Unknown error". The confusing log is fixed in THRIFT-5670. We should backport it to our native-toolchain.
> With the fix, the logs will become:
> {noformat}
> I1023 08:47:20.240015 25785 thrift-util.cc:198] TSocket::read() THRIFT_EAGAIN (timed out) after 30000 ms
> I1023 08:47:50.269630 25785 thrift-util.cc:198] TSocket::read() THRIFT_EAGAIN (timed out) after 30000 ms
> {noformat}
> Users can find idle clients based on these logs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)