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/06 22:49:12 UTC

[jira] [Commented] (HIVE-9310) CLI JLine does not flush history back to ~/.hivehistory

    [ https://issues.apache.org/jira/browse/HIVE-9310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14481906#comment-14481906 ] 

Thejas M Nair commented on HIVE-9310:
-------------------------------------

Created HIVE-10225 for the other cases where the history file is still not created.


> CLI JLine does not flush history back to ~/.hivehistory
> -------------------------------------------------------
>
>                 Key: HIVE-9310
>                 URL: https://issues.apache.org/jira/browse/HIVE-9310
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 0.15.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: HIVE-9310.1.patch
>
>
> Hive CLI does not seem to be saving history anymore.
> In JLine with the PersistentHistory class, to keep history across sessions, you need to do {{reader.getHistory().flush()}}.



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