hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sankar Hariappan (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HIVE-15858) Beeline ^C doesn't close the session
Date Thu, 09 Feb 2017 10:19:41 GMT

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

Sankar Hariappan edited comment on HIVE-15858 at 2/9/17 10:19 AM:
------------------------------------------------------------------

Hi Xuefu Zhang, HIVE-15626 supports the smooth cancellation of running query when we hit Ctrl+C.
But, this issue for the scenario, where no queries are running currently and if we hit either
!quit or Ctrl+C, then the beeline client closes but the sessions remain open in the server
side. Also, I noticed this issue occurs only with HTTP mode of transport.


was (Author: sankarh):
Hi Xuefu Zhang, HIVE-15626 supports the smooth cancellation of running query when we hit Ctrl-C.
But, this ticket talks about the case, where no queries are running currently and if we hit
either !quit or Ctrl-C, then the beeline client closes but the sessions remain open in the
server side. Also, I noticed this issue occurs only with HTTP mode of transport.

> Beeline ^C doesn't close the session
> ------------------------------------
>
>                 Key: HIVE-15858
>                 URL: https://issues.apache.org/jira/browse/HIVE-15858
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>            Reporter: Sankar Hariappan
>            Assignee: Sankar Hariappan
>
> When open multiple connections through Beeline to Hiveserver2 and if tries to close the
client using !quit or ^C command, it looks like all the connections/sessions are not getting
closed.
> !quit seems to close the current active connection but fails to close other open sessions.
> ^C doesn't close any session.
> This behaviour is noticed only with the HTTP mode of transport (hive.server2.transport.mode=http).
In case of BINARY mode, server triggers the close session when a tcp connection is closed
by peer.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message