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

Method LookUpBackendDesc

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

Source from the content-addressed store, hash-verified

187}
188
189const BackendDescriptorPB* ExecutorGroup::LookUpBackendDesc(
190 const NetworkAddressPB& host) const {
191 IpAddr ip;
192 if (LookUpExecutorIp(host.hostname(), &ip)) {
193 const ExecutorGroup::Executors& be_list = GetExecutorsForHost(ip);
194 for (const BackendDescriptorPB& desc : be_list) {
195 if (desc.address() == host) return &desc;
196 }
197 }
198 return nullptr;
199}
200
201const BackendDescriptorPB* ExecutorGroup::LookUpBackendDesc(
202 const UniqueIdPB& be_id) const {

Callers 8

scheduler.ccFile · 0.80
AssertLookupByIdFunction · 0.80
_removeCoordIfExistsFunction · 0.80
BlacklistExecutorMethod · 0.80
TESTFunction · 0.80

Calls 1

hostnameMethod · 0.80

Tested by 2

AssertLookupByIdFunction · 0.64
TESTFunction · 0.64