You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Csaba Ringhofer (Jira)" <ji...@apache.org> on 2023/07/06 16:20:00 UTC
[jira] [Created] (IMPALA-12267) DMLs/DDLs can hang as a result of catalogd change
Csaba Ringhofer created IMPALA-12267:
----------------------------------------
Summary: DMLs/DDLs can hang as a result of catalogd change
Key: IMPALA-12267
URL: https://issues.apache.org/jira/browse/IMPALA-12267
Project: IMPALA
Issue Type: Bug
Reporter: Csaba Ringhofer
IMPALA-5476 added handling for changes in catalogd service ID during the lifetime of a DML/DDL query, but the loop that waits for a new catalogd service ID can wait indefinitely in case the DML/DDL was handled by the previous catalogd and restart happened just after replying to the coordinator:
https://github.com/apache/impala/blob/d0fe4c604f72d41019832513ebf65cfe8f469953/be/src/service/impala-server.cc#L2204
Could reproduce this by adding a sleep just before taking catalog_version_lock_ and restarting catalogd while a DML/DDL was waiting there. As a result the query hanged - it could be finished only by restarting catalogd and cancelling the query also didn't help.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)