Joe McDonnell created IMPALA-9028:
-------------------------------------
Summary: Impala shell should not try to reconnect when quitting
Key: IMPALA-9028
URL: https://issues.apache.org/jira/browse/IMPALA-9028
Project: IMPALA
Issue Type: Improvement
Components: Clients
Affects Versions: Impala 3.4.0
Reporter: Joe McDonnell
Assignee: Joe McDonnell
When the impala-shell is not connected, it will try to reconnect when executing
a new command (in precmd).
[https://github.com/apache/impala/blob/master/shell/impala_shell.py#L600-L603]
{code:java}
if not self.imp_client.is_connected():
print_to_stderr("Connection lost, reconnecting...")
self._connect()
self._validate_database(immediately=True)
{code}
This doesn't make sense if the user is quitting the shell (by typing 'quit',
'exit', or hitting Ctrl-D). It should skip the reconnect in this case.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]