Details
-
Sub-task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
ghx-label-3
Description
When we call LookUpBackendDescriptor() with a specific address, we always expect that we've stored the backend list for that host in the backend_map_:
/// Return the list of backends on a particular host. The caller must make sure that the /// host is actually contained in backend_map_. const BackendList& GetBackendListForHost(const IpAddr& ip) const;
However, for configuration with dedicated coordinator, a coordinator can be non-executor so it will not be found in backend_map_
If that is the case, on debug binaries, this would trip up this DCHECK in GetBackendListForHost():
https://github.com/michaelhkw/incubator-impala/blob/krpc/be/src/scheduling/backend-config.cc#L25
On release binaries, it would hit a SEGFAULT here:
https://github.com/michaelhkw/incubator-impala/blob/krpc/be/src/scheduling/backend-config.cc#L79
This bug only exists on KRPC branch.