You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Vihang Karajgaonkar (Jira)" <ji...@apache.org> on 2020/10/20 21:34:00 UTC

[jira] [Created] (IMPALA-10268) Validate the debug actions when they are set

Vihang Karajgaonkar created IMPALA-10268:
--------------------------------------------

             Summary: 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
            Reporter: Vihang Karajgaonkar


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.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org