Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9310

CLI JLine does not flush history back to ~/.hivehistory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.15.0
    • 1.1.0
    • CLI
    • None
    • Flush hive CLI history to disk on exit

    Description

      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().

      Attachments

        1. HIVE-9310.1.patch
          2 kB
          Gopal Vijayaraghavan

        Issue Links

          Activity

            People

              gopalv Gopal Vijayaraghavan
              gopalv Gopal Vijayaraghavan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: