Lars Volker has uploaded a new change for review. http://gerrit.cloudera.org:8080/4102
Change subject: IMPALA-3944: Fix crash in SimpleScheduler ...................................................................... IMPALA-3944: Fix crash in SimpleScheduler SimpleScheduler::BackendConfig maintains two maps, hostname->IP and IP->[list of backends]. In situations where multiple backends run on a single host, BackendConfig::RemoveBackend was erroneously removing the hostname->IP mapping, even when the list of backends for a host was not empty. The fix is to only remove this mapping when the last backend of a host gets removed. I will push a test in a separate change. Change-Id: I1c2c58c2f9e7de0936aba03dcce86cdc4b31a866 --- M be/src/scheduling/simple-scheduler.cc 1 file changed, 11 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/02/4102/1 -- To view, visit http://gerrit.cloudera.org:8080/4102 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1c2c58c2f9e7de0936aba03dcce86cdc4b31a866 Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Lars Volker <[email protected]>
