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

Method SetExecError

be/src/runtime/coordinator-backend-state.cc:211–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211void Coordinator::BackendState::SetExecError(
212 const Status& status, TypedCountingBarrier<Status>* exec_status_barrier) {
213 const string ERR_TEMPLATE = "ExecQueryFInstances rpc query_id=$0 failed: $1";
214 const string& err_msg =
215 Substitute(ERR_TEMPLATE, PrintId(query_id_), status.msg().GetFullMessageDetails());
216 LOG(ERROR) << err_msg;
217 status_ = Status::Expected(err_msg);
218 exec_done_ = true;
219 exec_status_barrier->NotifyRemaining(status);
220}
221
222void Coordinator::BackendState::WaitOnExecRpc() {
223 unique_lock<mutex> l(lock_);

Callers

nothing calls this directly

Calls 4

SubstituteFunction · 0.85
PrintIdFunction · 0.85
GetFullMessageDetailsMethod · 0.80
NotifyRemainingMethod · 0.45

Tested by

no test coverage detected