[
https://issues.apache.org/jira/browse/HIVE-16016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15880357#comment-15880357
]
Hive QA commented on HIVE-16016:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12854118/HIVE-16016.patch
{color:green}SUCCESS:{color} +1 due to 3 test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 17 failed/errored test(s), 10279 tests
executed
*Failed tests:*
{noformat}
TestDbNotificationListener - did not produce a TEST-*.xml file (likely timed
out) (batchId=221)
TestDerbyConnector - did not produce a TEST-*.xml file (likely timed out)
(batchId=235)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14]
(batchId=223)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query23]
(batchId=223)
org.apache.hive.beeline.TestBeeLineWithArgs.testQueryProgress (batchId=211)
org.apache.hive.beeline.TestBeeLineWithArgs.testQueryProgressParallel
(batchId=211)
org.apache.hive.hcatalog.listener.TestNonTransactionalDbNotificationListener.alterIndex
(batchId=221)
org.apache.hive.hcatalog.listener.TestNonTransactionalDbNotificationListener.createDatabase
(batchId=221)
org.apache.hive.hcatalog.listener.TestNonTransactionalDbNotificationListener.createFunction
(batchId=221)
org.apache.hive.hcatalog.listener.TestNonTransactionalDbNotificationListener.createIndex
(batchId=221)
org.apache.hive.hcatalog.listener.TestNonTransactionalDbNotificationListener.createTable
(batchId=221)
org.apache.hive.hcatalog.listener.TestNonTransactionalDbNotificationListener.dropDatabase
(batchId=221)
org.apache.hive.hcatalog.listener.TestNonTransactionalDbNotificationListener.dropFunction
(batchId=221)
org.apache.hive.hcatalog.listener.TestNonTransactionalDbNotificationListener.dropPartition
(batchId=221)
org.apache.hive.hcatalog.listener.TestNonTransactionalDbNotificationListener.dropTable
(batchId=221)
org.apache.hive.hcatalog.listener.TestNonTransactionalDbNotificationListener.exchangePartition
(batchId=221)
org.apache.hive.hcatalog.listener.TestTransactionalDbNotificationListener.sqlInsertPartition
(batchId=221)
{noformat}
Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3722/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3722/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3722/
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: 17 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12854118 - PreCommit-HIVE-Build
> Use same PersistenceManager for metadata and notification
> ---------------------------------------------------------
>
> Key: HIVE-16016
> URL: https://issues.apache.org/jira/browse/HIVE-16016
> Project: Hive
> Issue Type: Bug
> Components: repl
> Reporter: Mohit Sabharwal
> Assignee: Mohit Sabharwal
> Attachments: HIVE-16016.patch
>
>
> HIVE-13966 added to support for persisting notification in the same JDO
> transaction as the metadata event. However, the notification is currently
> added using a different ObjectStore object from the one used to persist the
> metadata event.
> The notification is added using the ObjectStore constructed in
> DbNotificationListener, whereas the metadata event is added via the thread
> local ObjectStore (i.e. threadLocalMS in HiveMetaStore.HMSHandler).
> As a result, different PersistenceManagers (different transactions) are used
> to persist notification and metadata events.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)