MCPcopy Create free account
hub / github.com/apache/impala / DebugAction

Function DebugAction

be/src/util/debug-util.h:162–167  ·  view source on GitHub ↗

If debug_action query option has a "global action" (i.e. not exec-node specific) and matches the given 'label' and 'args', apply the the action. See ImpalaService.thrift for details of the format and available global actions. For ExecNode code, use ExecNode::ExecDebugAction() instead. Will return OK unless either an invalid debug action is specified or the FAIL action is executed.

Source from the content-addressed store, hash-verified

160/// ExecNode code, use ExecNode::ExecDebugAction() instead. Will return OK unless either
161/// an invalid debug action is specified or the FAIL action is executed.
162WARN_UNUSED_RESULT static inline Status DebugAction(const string& debug_action,
163 const char* label, const std::vector<string>& args = std::vector<string>(),
164 bool verify_only = false) {
165 if (LIKELY(debug_action.empty())) return Status::OK();
166 return DebugActionImpl(debug_action, label, args, verify_only);
167}
168
169WARN_UNUSED_RESULT static inline Status DebugAction(
170 const TQueryOptions& query_options, const char* label) {

Callers 15

RegisterMethod · 0.85
StartMethod · 0.85
SendHaHandshakeMethod · 0.85
ScheduleMethod · 0.85
TryAdmitQueryMethod · 0.85
UpdateCatalogMethod · 0.85
CommitKuduTransactionMethod · 0.85
GetProfileMethod · 0.85
SubmitAndWaitMethod · 0.85

Calls 3

OKFunction · 0.85
DebugActionImplFunction · 0.85
emptyMethod · 0.45

Tested by 5

RegisterMethod · 0.68
StartMethod · 0.68
SendHaHandshakeMethod · 0.68