[
https://issues.apache.org/jira/browse/HIVE-14799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15549261#comment-15549261
]
Hive QA commented on HIVE-14799:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12831737/HIVE-14799.patch
{color:red}ERROR:{color} -1 due to no test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 32 failed/errored test(s), 9307 tests
executed
*Failed tests:*
{noformat}
161_TestHCatLoader - did not produce a TEST-*.xml file
162_TestHCatStorer - did not produce a TEST-*.xml file
163_UTBatch_hcatalog__hcatalog-pig-adapter_8_tests - did not produce a
TEST-*.xml file
169_TestHCatMutableDynamicPartitioned - did not produce a TEST-*.xml file
170_TestHCatDynamicPartitioned - did not produce a TEST-*.xml file
171_TestHCatExternalDynamicPartitioned - did not produce a TEST-*.xml file
172_UTBatch_hcatalog__core_9_tests - did not produce a TEST-*.xml file
174_UTBatch_hcatalog__server-extensions_2_tests - did not produce a TEST-*.xml
file
181_TestTxnCommands2WithSplitUpdate - did not produce a TEST-*.xml file
185_TestDbTxnManager2 - did not produce a TEST-*.xml file
196_UTBatch_ql_10_tests - did not produce a TEST-*.xml file
204_TestTxnCommands2WithSplitUpdateAndVectorization - did not produce a
TEST-*.xml file
228_UTBatch_itests__hcatalog-unit_6_tests - did not produce a TEST-*.xml file
229_UTBatch_itests__hive-unit-hadoop2_5_tests - did not produce a TEST-*.xml
file
243_UTBatch_itests__hive-unit_9_tests - did not produce a TEST-*.xml file
244_TestMetaStoreEventListener - did not produce a TEST-*.xml file
252_TestAuthorizationPreEventListener - did not produce a TEST-*.xml file
253_UTBatch_itests__hive-unit_9_tests - did not produce a TEST-*.xml file
254_TestAcidOnTezWithSplitUpdate - did not produce a TEST-*.xml file
255_TestAcidOnTez - did not produce a TEST-*.xml file
257_TestCompactor - did not produce a TEST-*.xml file
258_UTBatch_itests__hive-unit_9_tests - did not produce a TEST-*.xml file
266_TestHBaseNegativeCliDriver - did not produce a TEST-*.xml file
TestHBaseCliDriver-hbase_handler_snapshot.q-hbase_binary_map_queries_prefix.q-external_table_ppd.q-and-2-more
- did not produce a TEST-*.xml file
TestHBaseCliDriver-hbase_joins.q-hbase_ppd_join.q-hbase_binary_map_queries.q-and-2-more
- did not produce a TEST-*.xml file
TestHBaseCliDriver-hbase_ppd_key_range.q-hbase_binary_external_table_queries.q-hbase_pushdown.q-and-2-more
- did not produce a TEST-*.xml file
TestHBaseCliDriver-hbase_queries.q-hbase_handler_bulk.q-hbase_viewjoins.q-and-2-more
- did not produce a TEST-*.xml file
TestHBaseCliDriver-hbase_timestamp_format.q-hbase_custom_key2.q-hbasestats.q-and-2-more
- did not produce a TEST-*.xml file
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[acid_mapjoin]
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[ctas]
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[vector_join_part_col_char]
org.apache.hive.jdbc.TestJdbcWithMiniHS2.testAddJarConstructorUnCaching
{noformat}
Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/1404/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/1404/console
Test logs:
http://ec2-204-236-174-241.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-Build-1404/
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: 32 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12831737 - 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.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)