You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Mihaly Szjatinya (Jira)" <ji...@apache.org> on 2025/06/03 11:36:00 UTC
[jira] [Resolved] (IMPALA-10268) Validate the debug actions when they are set
[ https://issues.apache.org/jira/browse/IMPALA-10268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mihaly Szjatinya resolved IMPALA-10268.
---------------------------------------
Fix Version/s: Impala 4.4.2
Resolution: Fixed
> Validate the debug actions when they are set
> --------------------------------------------
>
> Key: IMPALA-10268
> URL: https://issues.apache.org/jira/browse/IMPALA-10268
> Project: IMPALA
> Issue Type: Improvement
> Components: Backend
> Reporter: Vihang Karajgaonkar
> Assignee: Mihaly Szjatinya
> Priority: Minor
> Labels: newbie
> Fix For: Impala 4.4.2
>
>
> Impala has a query option called {{debug_action}} which can be set to invoke some debug code like adding a sleep statement to simulate delay. Currently the implementation of this debug action also validates whether the action is a correctly formatted as seen in https://github.com/apache/impala/blob/198bbe280cb991f653eba18c3d49b35582608520/be/src/util/debug-util.cc#L355. However, if the debug_action is not correctly set up, this code can throw exceptions at places where it is invoked. It would be good to validate the debug action when the query option is set so that a invalid string is not passed to the debug action execution.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)