Lars Volker has posted comments on this change. Change subject: IMPALA-4494: Fix crash in SimpleScheduler ......................................................................
Patch Set 3: > I think it would make sense to add the local backend to the list of > backends at the same time as we process the initial update. That > way we only have two states: no backend, and all the backends. I > think that's what you were suggesting. Scheduling fails if we have > no backends, right? I agree. To make sure we only have these two states I added the local backend to the backend_state every time it is missing and the backend_state is not empty. A few tests had removed the first backend and now needed to be adjusted to remove a different backend to be effective. -- To view, visit http://gerrit.cloudera.org:8080/5127 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I6e1196a2fa47e5954c4a190aa326c135d039a77f Gerrit-PatchSet: 3 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Lars Volker <l...@cloudera.com> Gerrit-Reviewer: Henry Robinson <he...@cloudera.com> Gerrit-Reviewer: Lars Volker <l...@cloudera.com> Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com> Gerrit-HasComments: No