You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2015/04/07 00:57:13 UTC

[jira] [Updated] (HIVE-10225) CLI JLine does not flush history on quit/Ctrl-C

     [ https://issues.apache.org/jira/browse/HIVE-10225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair updated HIVE-10225:
---------------------------------
    Attachment: HIVE-10225.1.patch

Adds a shutdown hook that calls flush on history.
This is similar to what we do in beeline. I didn't re-use code from there, since there has been working going on to make beeline usable as a separate module.


> CLI JLine does not flush history on quit/Ctrl-C
> -----------------------------------------------
>
>                 Key: HIVE-10225
>                 URL: https://issues.apache.org/jira/browse/HIVE-10225
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: HIVE-10225.1.patch
>
>
> Hive CLI is not saving history, if hive cli is terminated using a Ctrl-C or "quit;".
> HIVE-9310 fixed it for the case where one exits with Ctrl-D (EOF), but not for the above ways of exiting.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)