hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <>
Subject [jira] [Commented] (HIVE-9310) CLI JLine does not flush history back to ~/.hivehistory
Date Fri, 09 Jan 2015 08:53:34 GMT


Gopal V commented on HIVE-9310:

[~navis]: did not want to leak the implementation out of the same class.

I saw issues with ShutdownHooks and different classloaders in some other work, didn't want
to go that way because there's no easy way to test these things for slow leaks.

My patch is a 5-min safe fix.

> CLI JLine does not flush history back to ~/.hivehistory
> -------------------------------------------------------
>                 Key: HIVE-9310
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 0.15.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Minor
>         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

View raw message