hive-issues mailing list archives

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


Hive QA commented on HIVE-17483:

Here are the results of testing the latest attachment:

{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:*
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.TestPerfCliDriver.testCliDriver[query14] (batchId=235)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query23] (batchId=235)
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)

Test results:
Console output:
Test logs:

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

This message is automatically generated.

ATTACHMENT ID: 12888624 - PreCommit-HIVE-Build

> HS2 kill command to kill queries using query id
> -----------------------------------------------
>                 Key: HIVE-17483
>                 URL:
>             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

View raw message