[ https://issues.apache.org/jira/browse/HIVE-23084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17069216#comment-17069216 ]
Hive QA commented on HIVE-23084: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12997980/HIVE-23084.2.patch {color:green}SUCCESS:{color} +1 due to 4 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 18150 tests executed *Failed tests:* {noformat} org.apache.hive.service.cli.thrift.TestMiniHS2StateWithNoZookeeper.openSessionAndClose (batchId=287) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/21306/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/21306/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-21306/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12997980 - PreCommit-HIVE-Build > Implement kill query in multiple HS2 environment > ------------------------------------------------ > > Key: HIVE-23084 > URL: https://issues.apache.org/jira/browse/HIVE-23084 > Project: Hive > Issue Type: Improvement > Components: HiveServer2 > Reporter: Peter Varga > Assignee: Peter Varga > Priority: Major > Attachments: HIVE-23084.1.patch, HIVE-23084.2.patch > > > KILL <queryId|querytag> command was implemented in: > * https://issues.apache.org/jira/browse/HIVE-17483 > * https://issues.apache.org/jira/browse/HIVE-20549 > But it is not working in an environment where service discovery is enabled > and more than one HS2 instance is running (except for manually sending the > kill query to all HS2 instance). > Solution: > * If a HS2 instance can't kill a query locally, it should post a kill query > request to the Zookeeper > * Every HS2 should watch the Zookeeper for kill query requests and if its > running on that instance kill it > * Authorization of kill query should work the same -- This message was sent by Atlassian Jira (v8.3.4#803005)