[ https://issues.apache.org/jira/browse/HIVE-12777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15105018#comment-15105018 ]
Rajat Khandelwal commented on HIVE-12777: ----------------------------------------- This patch allows CLIService to have a functionality to restore a session given session handle. This functionality is added only at the service level. Clients don't have that functionality. Anyone that has an instance of CLIService can now restore previous sessions using the session handle. Have added test case for that too. Have updated https://reviews.apache.org/r/41928/ with the changes. > Add capability to restore session > --------------------------------- > > Key: HIVE-12777 > URL: https://issues.apache.org/jira/browse/HIVE-12777 > Project: Hive > Issue Type: Improvement > Reporter: Rajat Khandelwal > Assignee: Rajat Khandelwal > Attachments: HIVE-12777.04.patch, HIVE-12777.08.patch, > HIVE-12777.09.patch, HIVE-12777.11.patch, HIVE-12777.12.patch, > HIVE-12777.13.patch, HIVE-12777.15.patch > > > Extensions using Hive session handles should be able to restore the hive > session from the handle. > Apache Lens depends on a fork of hive and that fork has such a capability. > Relevant commit: > https://github.com/InMobi/hive/commit/931fe9116161a18952c082c14223ad6745fefe00#diff-0acb35f7cab7492f522b0c40ce3ce1be -- This message was sent by Atlassian JIRA (v6.3.4#6332)