You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Weizhong (JIRA)" <ji...@apache.org> on 2015/08/11 11:34:46 UTC

[jira] [Commented] (SPARK-8361) Session of ThriftServer is still alive after I exit beeline

    [ https://issues.apache.org/jira/browse/SPARK-8361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14681525#comment-14681525 ] 

Weizhong commented on SPARK-8361:
---------------------------------

On SparkSQLSessionManager only override the closeSession function which will be called by client(may be beeline or others), from the hive(0.13.1) code we know beeline have handle the "Ctrl+D" and "!quit" which will close the session, but don't add shutdown hock, this may be only exit the client but don't close the connection.

> Session of ThriftServer is still alive after I exit beeline
> -----------------------------------------------------------
>
>                 Key: SPARK-8361
>                 URL: https://issues.apache.org/jira/browse/SPARK-8361
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.4.0
>         Environment: centos6.2 spark-1.4.0
>            Reporter: cen yuhai
>
> I connected to thriftserver through beeline, but after I exited beeline(maybe I will use 'ctrl + c' or 'ctrl+z'), it still exited in ThriftServer Web UI(SQL Tab). There are no Finish Time . 
> If I use 'ctrl + d', it will have finish time.
> After reviewing the code, I think the session is still alive.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org