Internal Jenkins has submitted this change and it was merged.

Change subject: IMPALA-3122: Fix detection of is_cached, is_remote
......................................................................


IMPALA-3122: Fix detection of is_cached, is_remote

The scheduler incorrectly sets is_cached and is_remote during replica
selection. This change fixes the code by only setting the variables if
a better replica is selected.

Change-Id: I5e406c15aa465e379d9ed0f979a5d8c5aed3e8a6
Reviewed-on: http://gerrit.cloudera.org:8080/2412
Reviewed-by: Lars Volker <[email protected]>
Tested-by: Internal Jenkins
---
M be/src/scheduling/simple-scheduler.cc
1 file changed, 3 insertions(+), 6 deletions(-)

Approvals:
  Lars Volker: Looks good to me, approved
  Internal Jenkins: Verified



-- 
To view, visit http://gerrit.cloudera.org:8080/2412
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5e406c15aa465e379d9ed0f979a5d8c5aed3e8a6
Gerrit-PatchSet: 3
Gerrit-Project: Impala
Gerrit-Branch: cdh5-2.5.0_5.7.0
Gerrit-Owner: Lars Volker <[email protected]>
Gerrit-Reviewer: Internal Jenkins
Gerrit-Reviewer: Lars Volker <[email protected]>
Gerrit-Reviewer: Marcel Kornacker <[email protected]>
Gerrit-Reviewer: Silvius Rus <[email protected]>

Reply via email to