hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-9310) CLI JLine does not flush history back to ~/.hivehistory
Date Wed, 21 Jan 2015 22:28:34 GMT

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

Prasanth Jayachandran commented on HIVE-9310:
---------------------------------------------

[~gopalv] The flushing of the history does not seem to work. history.flush() is not getting
called. Can we flush the history before processing each command? or in some other place which
is reliable. 

> 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: 0.15.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)

Mime
View raw message