[ https://issues.apache.org/jira/browse/HIVE-15626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854745#comment-15854745 ]
Chaoyu Tang commented on HIVE-15626: ------------------------------------ [~vihangk1] When I worked on HIVE-14799 and did manual beeline ctrl-c tests on Linux, I never had the problem in canceling a query running in HS2. The Beeline shutdown in response to Ctrl-C closes the socket, which could trigger the event handler of HS2 ThriftServer to close the session, therefore canceling/closing all queries run on this session when hive.server2.close.session.on.disconnect is enabled. The stmt.cancel() in the patch can ensure that the query is cancelled under some circumstances, though the query might have already been or anyway will be cancelled through the session closing. Have you been able to reproduce the issue reported here? > beeline exits on ctrl-c instead of canceling the query > ------------------------------------------------------ > > Key: HIVE-15626 > URL: https://issues.apache.org/jira/browse/HIVE-15626 > Project: Hive > Issue Type: Bug > Affects Versions: 1.2.1 > Reporter: Sergey Shelukhin > Assignee: Vihang Karajgaonkar > Attachments: HIVE-15626.01.patch > > > I am seeing this in 1.2 -- This message was sent by Atlassian JIRA (v6.3.15#6346)