Sailesh Mukil has uploaded a new patch set (#2).

Change subject: IMPALA-2626: In-flight queries fail when statestore comes back 
online.
......................................................................

IMPALA-2626: In-flight queries fail when statestore comes back online.

During a session, if the statestore goes down, the impalads can
continue execution without the statestore with the stale metadata
that they posses.
However, when the statestore comes back online, the first membership
callback it makes to the impalad hosts, erases the "known_backends"
list that the impalads have stored locally. Therefore, in-flight
queries fail.

This patch makes sure that when the impalad is reconnected with the
statestore, it does not delete it's 'known_backends' list if there are
zero topic entry updates from the statestore.

The in-flight queries still can fail if the initial backend list from
the statestore does not contain all the backends that the impalad
is already working with on the in-flight query.

Change-Id: I102391ab63270a9686cf45457b8384ffcd2abe8a
---
M be/src/service/impala-server.cc
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/80/1380/2
-- 
To view, visit http://gerrit.cloudera.org:8080/1380
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I102391ab63270a9686cf45457b8384ffcd2abe8a
Gerrit-PatchSet: 2
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Sailesh Mukil <[email protected]>
Gerrit-Reviewer: Henry Robinson <[email protected]>
Gerrit-Reviewer: Sailesh Mukil <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>

Reply via email to