Impala Public Jenkins has submitted this change and it was merged. ( 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 Reviewed-on: http://gerrit.cloudera.org:8080/16506 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M be/src/scheduling/executor-blacklist.cc M be/src/scheduling/executor-blacklist.h 2 files changed, 69 insertions(+), 103 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- 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: merged Gerrit-Change-Id: Ib1ae082d0e080088756af91b5b770752ca8b3aa1 Gerrit-Change-Number: 16506 Gerrit-PatchSet: 10 Gerrit-Owner: Wenzhe Zhou <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Qifan Chen <[email protected]> Gerrit-Reviewer: Thomas Tauber-Marshall <[email protected]> Gerrit-Reviewer: Wenzhe Zhou <[email protected]>
