Wenzhe Zhou has uploaded a new patch set (#5). ( http://gerrit.cloudera.org:8080/16506 )
Change subject: IMPALA-9180 (part 2): Refactor executor_list_ map of ExecuterBlacklist ...................................................................... IMPALA-9180 (part 2): Refactor executor_list_ map of ExecuterBlacklist In current ExecuterBlacklist class, we've keyed maps on a TNetworkAddress of a backend. To simply the logic for the class, changes it to key off of the UniqueIdPB backend-id, eg. refactor 'executor_list_' to no longer be a map<address -> list<backend>> and instead makes it a map<backend_id, backend>. Also fixes a minor bug with the calculation of elapsed time when a backend that was on probation is re-blacklisted. Testing: - Passed test_blacklist.py and test_query_retries.py. - Passed exhaustive tests. Change-Id: Ib1ae082d0e080088756af91b5b770752ca8b3aa1 --- M be/src/scheduling/executor-blacklist.cc M be/src/scheduling/executor-blacklist.h 2 files changed, 67 insertions(+), 103 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/06/16506/5 -- To view, visit http://gerrit.cloudera.org:8080/16506 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ib1ae082d0e080088756af91b5b770752ca8b3aa1 Gerrit-Change-Number: 16506 Gerrit-PatchSet: 5 Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Thomas Tauber-Marshall <tmarsh...@cloudera.com> Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>