[
https://issues.apache.org/jira/browse/HIVE-23084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17071394#comment-17071394
]
Hive QA commented on HIVE-23084:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12998233/HIVE-23084.3.patch
{color:green}SUCCESS:{color} +1 due to 4 test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 18152 tests
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestTezPerfConstraintsCliDriver.testCliDriver[cbo_query25]
(batchId=307)
org.apache.hive.jdbc.TestJdbcWithServiceDiscovery.testKillQueryWithDifferentServer
(batchId=292)
org.apache.hive.jdbc.TestJdbcWithServiceDiscovery.testKillQueryWithDifferentServerZKTurnedOff
(batchId=292)
org.apache.hive.jdbc.TestJdbcWithServiceDiscovery.testKillQueryWithSameServer
(batchId=292)
{noformat}
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/21343/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/21343/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-21343/
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: 4 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12998233 - 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,
> HIVE-23084.3.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)