[ https://issues.apache.org/jira/browse/HIVE-17150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16096724#comment-16096724 ]
Hive QA commented on HIVE-17150: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12878384/HIVE-17150.2.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 11 failed/errored test(s), 11092 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[insert_overwrite_local_directory_1] (batchId=240) org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[materialized_view_create_rewrite] (batchId=240) org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[llap_smb] (batchId=144) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[subquery_scalar] (batchId=153) org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[spark_vectorized_dynamic_partition_pruning] (batchId=168) org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14] (batchId=235) org.apache.hive.hcatalog.api.TestHCatClient.testPartitionRegistrationWithCustomSchema (batchId=179) org.apache.hive.hcatalog.api.TestHCatClient.testPartitionSpecRegistrationWithCustomSchema (batchId=179) org.apache.hive.hcatalog.api.TestHCatClient.testTableSchemaPropagation (batchId=179) org.apache.hive.hcatalog.pig.TestTextFileHCatStorer.testDateCharTypes (batchId=182) org.apache.hive.hcatalog.pig.TestTextFileHCatStorer.testWriteDecimalX (batchId=182) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/6107/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/6107/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-6107/ 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: 11 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12878384 - PreCommit-HIVE-Build > CREATE INDEX execute HMS out-of-transaction listener calls inside a > transaction > ------------------------------------------------------------------------------- > > Key: HIVE-17150 > URL: https://issues.apache.org/jira/browse/HIVE-17150 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 2.3.0 > Reporter: Sergio Peña > Assignee: Sergio Peña > Attachments: HIVE-17150.1.patch, HIVE-17150.2.patch > > > The problem with CREATE INDEX is that it calls a CREATE TABLE operation > inside the same CREATE INDEX transaction. During listener calls, there are > some listeners that should run in an out-of-transaction context, for > instance, Sentry blocks the HMS operation until the DB log notification is > processed, but if the transaction has not finished, then the > out-of-transaction listener will block forever (or until a read-time out > happens). > A fix would be to add a parameter to the out-of-transaction listener that > alerts the listener if HMS is in an active transaction. If so, then is up to > the listener plugin to return immediately and avoid blocking the HMS > operation. -- This message was sent by Atlassian JIRA (v6.4.14#64029)