[
https://issues.apache.org/jira/browse/HIVE-19873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16511718#comment-16511718
]
Hive QA commented on HIVE-19873:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12927514/HIVE-19873.1.patch
{color:red}ERROR:{color} -1 due to no test(s) being added or modified.
{color:green}SUCCESS:{color} +1 due to 14521 tests passed
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/11763/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/11763/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-11763/
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
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12927514 - PreCommit-HIVE-Build
> Cleanup operation log on query cancellation after some delay
> ------------------------------------------------------------
>
> Key: HIVE-19873
> URL: https://issues.apache.org/jira/browse/HIVE-19873
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Affects Versions: 3.1.0, 4.0.0
> Reporter: Prasanth Jayachandran
> Assignee: Prasanth Jayachandran
> Priority: Major
> Attachments: HIVE-19873.1.patch
>
>
> When a query is executed using beeline and the query is cancelled due to
> query timeout or kill query or triggers and when there is cursor on operation
> log row set, the cursor can thrown an exception as cancel will cleanup the
> operation log in the background. This can return a non-zero exit code in
> beeline. Query cancellation on success should return exit code 0.
> Adding a delay to the cleanup of operation logging in operation cancel can
> avoid the close during read.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)