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

Add capability to restore session in CLIService and SessionManager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • None
    • None
    • Reviewed

    Description

      Extensions using CLIService session handles should be able to restore the session from the handle.

      Apache Lens depends on a fork of hive and that fork has such a capability.

      Functionality added: Restoring a session. A session opened once is lost once the cli service is re-created. There may be some operation going on in that session at the time the service is restarted. It's useful to be able to restore a previously existing session.

      Have added code in CLIService for that effect. Have also added a test class.

      Relevant commit: https://github.com/InMobi/hive/commit/931fe9116161a18952c082c14223ad6745fefe00#diff-0acb35f7cab7492f522b0c40ce3ce1be

      Attachments

        1. HIVE-12777.04.patch
          230 kB
          Rajat Khandelwal
        2. HIVE-12777.08.patch
          175 kB
          Rajat Khandelwal
        3. HIVE-12777.09.patch
          232 kB
          Rajat Khandelwal
        4. HIVE-12777.11.patch
          232 kB
          Rajat Khandelwal
        5. HIVE-12777.12.patch
          898 kB
          Rajat Khandelwal
        6. HIVE-12777.13.patch
          900 kB
          Rajat Khandelwal
        7. HIVE-12777.15.patch
          13 kB
          Rajat Khandelwal
        8. HIVE-12777.16.patch
          13 kB
          Rajat Khandelwal
        9. HIVE-12777.17.patch
          14 kB
          Rajat Khandelwal
        10. HIVE-12777.18.patch
          2.36 MB
          Rajat Khandelwal
        11. HIVE-12777.19.patch
          14 kB
          Rajat Khandelwal
        12. HIVE-12777.21.patch
          13 kB
          Rajat Khandelwal

        Issue Links

          Activity

            People

              prongs Rajat Khandelwal
              prongs Rajat Khandelwal
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: