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-14799) Query operation are not thread safe during its cancellation
Date Thu, 13 Oct 2016 06:37:21 GMT

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

Hive QA commented on HIVE-14799:
--------------------------------



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

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 10560 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[reloadJar]
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[join30]
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[stats18]
org.apache.hive.spark.client.TestSparkClient.testJobSubmission
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/1520/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/1520/console
Test logs: http://ec2-204-236-174-241.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-Build-1520/

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: 4 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12832977 - PreCommit-HIVE-Build

> Query operation are not thread safe during its cancellation
> -----------------------------------------------------------
>
>                 Key: HIVE-14799
>                 URL: https://issues.apache.org/jira/browse/HIVE-14799
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Chaoyu Tang
>            Assignee: Chaoyu Tang
>         Attachments: HIVE-14799.1.patch, HIVE-14799.2.patch, HIVE-14799.3.patch, HIVE-14799.4.patch,
HIVE-14799.5.patch, HIVE-14799.5.patch, HIVE-14799.6.patch, HIVE-14799.6.patch, HIVE-14799.patch
>
>
> When a query is cancelled either via Beeline (Ctrl-C) or API call TCLIService.Client.CancelOperation,
SQLOperation.cancel is invoked in a different thread from that running the query to close/destroy
its encapsulated Driver object. Both SQLOperation and Driver are not thread-safe which could
sometimes result in Runtime exceptions like NPE. The errors from the running query are not
handled properly therefore probably causing some stuffs (files, locks etc) not being cleaned
after the query termination.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message