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: [email protected]
For additional commands, e-mail: [email protected]