askhatri opened a new pull request, #445: URL: https://github.com/apache/incubator-livy/pull/445
Support connecting to an existing sessions using session name via Thrift Server ## What changes were proposed in this pull request? JIRA: https://issues.apache.org/jira/browse/LIVY-998 The Thrift Server can set the session name, but it cannot use an existing session name and connect to it. Added the fix to use an existing session name and connect to it via Thrift Server. ## How was this patch tested? Created a session using session name: ``` curl --no-progress-meter -X POST -H "Content-Type: application/json" --data '{"kind": "spark", "name": "sesssionName"}' http://HOST:PORT/sessions ``` Connected to the existing session via Thrift Server using: ``` $ beeline -u "jdbc:hive2://HOST:PORT/?livy.session.name=sesssionName" ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
