You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2021/02/05 13:22:00 UTC
[jira] [Updated] (IMPALA-9398) When pressing Ctrl+C the content of
the shell history gets doubled
[ https://issues.apache.org/jira/browse/IMPALA-9398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Quanlong Huang updated IMPALA-9398:
-----------------------------------
Fix Version/s: Impala 3.4.1
> When pressing Ctrl+C the content of the shell history gets doubled
> ------------------------------------------------------------------
>
> Key: IMPALA-9398
> URL: https://issues.apache.org/jira/browse/IMPALA-9398
> Project: IMPALA
> Issue Type: Bug
> Components: Clients
> Affects Versions: Impala 3.3.0
> Reporter: Adam Tamas
> Assignee: Tamas Mate
> Priority: Trivial
> Labels: impala-shell, ramp-up
> Fix For: Impala 4.0, Impala 3.4.1
>
>
> If Ctrl+C was pressed in the impala-shell, the content of the ~/.impalahistory got copied into the end of the file for each instance the Ctrl+C was pressed.
> The new queries written while the shell was open is not duplicated and the file is only updated after the impala-shell was closed.
> Example:
> $ rm ~/.impalahistory
> $ impala-shell.sh
> impala> select 1;
> impala> select 2;
> impala> quit;
> $ cat -n ~/.impalahistory
> 1 select 1;
> 2 select 2;
> 3 quit;
> $ impala-shell.sh
> impala> ^C
> impala> quit;
> $ cat -n ~/.impalahistory
> 1 select 1;
> 2 select 2;
> 3 quit;
> 4 select 1;
> 5 select 2;
> 6 quit;
> The second impala-shell session, Ctrl-C doubled all the history entries.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org