[ https://issues.apache.org/jira/browse/HIVE-12777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajat Khandelwal updated HIVE-12777: ------------------------------------ Description: 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 Functionality added: Restoring a session. A session opened once is lost once the cli service is restarted. 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. was: 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 Functionality added: Restoring a session. A session opened once is lost once the cli service is restarted. 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. > 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 > Functionality added: Restoring a session. A session opened once is lost once > the cli service is restarted. 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)