Joe McDonnell has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/14391


Change subject: IMPALA-9028: impala-shell should not try to reconnect if 
quitting
......................................................................

IMPALA-9028: impala-shell should not try to reconnect if quitting

When the impala-shell is disconnected, it will try to reconnect
for any command that a user runs (as part of ImpalaShell's precmd()).
This doesn't make sense when the user is trying to quit the shell
(i.e. by typing 'quit' or 'exit' or hitting Ctrl-D).

This skips the attempt to reconnect when quitting the shell.

Testing:
 - Ran shell end to end tests
 - Verified by hand

Change-Id: I6a76bc515db609498fa8772e9f0b0c547b82c09e
---
M shell/impala_shell.py
1 file changed, 8 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/91/14391/1
--
To view, visit http://gerrit.cloudera.org:8080/14391
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6a76bc515db609498fa8772e9f0b0c547b82c09e
Gerrit-Change-Number: 14391
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell <[email protected]>

Reply via email to