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

Method GetAllExecutorDescriptors

be/src/scheduling/executor-group.cc:68–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68ExecutorGroup::Executors ExecutorGroup::GetAllExecutorDescriptors() const {
69 Executors executors;
70 for (const auto& executor_list: executor_map_) {
71 executors.insert(executors.end(), executor_list.second.begin(),
72 executor_list.second.end());
73 }
74 return executors;
75}
76
77void ExecutorGroup::AddExecutor(const BackendDescriptorPB& be_desc) {
78 // be_desc.is_executor can be false for the local backend when scheduling queries to run

Calls 3

insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by 1

_assertCoordsFunction · 0.64