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

Add capability to restore session in CLIService and SessionManager

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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.21.patch
          13 kB
          Rajat Khandelwal
        2. HIVE-12777.19.patch
          14 kB
          Rajat Khandelwal
        3. HIVE-12777.18.patch
          2.36 MB
          Rajat Khandelwal
        4. HIVE-12777.17.patch
          14 kB
          Rajat Khandelwal
        5. HIVE-12777.16.patch
          13 kB
          Rajat Khandelwal
        6. HIVE-12777.15.patch
          13 kB
          Rajat Khandelwal
        7. HIVE-12777.13.patch
          900 kB
          Rajat Khandelwal
        8. HIVE-12777.12.patch
          898 kB
          Rajat Khandelwal
        9. HIVE-12777.11.patch
          232 kB
          Rajat Khandelwal
        10. HIVE-12777.09.patch
          232 kB
          Rajat Khandelwal
        11. HIVE-12777.08.patch
          175 kB
          Rajat Khandelwal
        12. HIVE-12777.04.patch
          230 kB
          Rajat Khandelwal

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              prongs Rajat Khandelwal Assign to me
              Reporter:
              prongs Rajat Khandelwal

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment