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

Method SetFrontendProfile

be/src/service/client-request-state.cc:242–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242void ClientRequestState::SetFrontendProfile(const TExecRequest& exec_request) {
243 // Should we defer creating and adding the child until here? probably.
244 TRuntimeProfileTree prof_tree;
245 prof_tree.nodes.emplace_back(std::move(exec_request.profile));
246 for (auto& child : exec_request.profile_children) {
247 prof_tree.nodes.emplace_back(std::move(child));
248 }
249 prof_tree.nodes.at(0).num_children = prof_tree.nodes.size() - 1;
250 frontend_profile_->Update(prof_tree, false);
251}
252
253void ClientRequestState::AddBlacklistedExecutorAddress(const NetworkAddressPB& addr) {
254 lock_guard<mutex> l(lock_);

Callers 1

ExecuteInternalMethod · 0.80

Calls 3

moveFunction · 0.85
sizeMethod · 0.45
UpdateMethod · 0.45

Tested by

no test coverage detected