hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-17483) HS2 kill command to kill queries using query id
Date Sun, 24 Sep 2017 02:02:00 GMT

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

Hive QA commented on HIVE-17483:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12888624/HIVE-17483.7.patch

{color:green}SUCCESS:{color} +1 due to 7 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 17 failed/errored test(s), 11060 tests executed
*Failed tests:*
{noformat}
TestAccumuloCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=231)
TestDummy - did not produce a TEST-*.xml file (likely timed out) (batchId=231)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[kill_query] (batchId=19)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[union_fast_stats] (batchId=156)
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[spark_explainuser_1]
(batchId=170)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14] (batchId=235)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query23] (batchId=235)
org.apache.hadoop.hive.cli.TestSparkNegativeCliDriver.org.apache.hadoop.hive.cli.TestSparkNegativeCliDriver
(batchId=242)
org.apache.hadoop.hive.cli.control.TestDanglingQOuts.checkDanglingQOut (batchId=202)
org.apache.hive.jdbc.TestJdbcWithMiniHS2.testJoinThriftSerializeInTasks (batchId=228)
org.apache.hive.jdbc.TestJdbcWithMiniHS2.testMetadataQueriesWithSerializeThriftInTasks (batchId=228)
org.apache.hive.jdbc.TestJdbcWithMiniHS2.testParallelCompilation (batchId=228)
org.apache.hive.jdbc.TestJdbcWithMiniHS2.testParallelCompilation2 (batchId=228)
org.apache.hive.jdbc.TestJdbcWithMiniLlap.testKillQuery (batchId=228)
org.apache.hive.service.cli.session.TestHiveSessionImpl.testLeakOperationHandle (batchId=223)
org.apache.hive.service.cli.session.TestQueryDisplay.testQueryDisplay (batchId=223)
org.apache.hive.service.cli.session.TestQueryDisplay.testWebUI (batchId=223)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/6969/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/6969/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-6969/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 17 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12888624 - PreCommit-HIVE-Build

> HS2 kill command to kill queries using query id
> -----------------------------------------------
>
>                 Key: HIVE-17483
>                 URL: https://issues.apache.org/jira/browse/HIVE-17483
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Thejas M Nair
>            Assignee: Teddy Choi
>         Attachments: HIVE-17483.1.patch, HIVE-17483.2.patch, HIVE-17483.2.patch, HIVE-17483.3.patch,
HIVE-17483.4.patch, HIVE-17483.5.patch, HIVE-17483.6.patch, HIVE-17483.7.patch
>
>
> For administrators, it is important to be able to kill queries if required. 
> Currently, there is no clean way to do it.
> It would help to have a "kill query <query id>" command that can be run using odbc/jdbc
against a HiveServer2 instance, to kill a query with that queryid running in that instance.
> Authorization will have to be done to ensure that the user that is invoking the API is
allowed to perform this action.
> In case of SQL std authorization, this would require admin role.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message