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

Hive QA commented on HIVE-19488:
--------------------------------



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

{color:green}SUCCESS:{color} +1 due to 5 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 45 failed/errored test(s), 14388 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[input14] (batchId=80)
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[repl_dump_requires_admin]
 (batchId=97)
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[repl_load_requires_admin]
 (batchId=97)
org.apache.hadoop.hive.metastore.client.TestAddPartitions.testAddPartitionsNonExistingDb[Embedded]
 (batchId=210)
org.apache.hadoop.hive.metastore.client.TestAddPartitions.testAddPartitionsNonExistingDb[Remote]
 (batchId=210)
org.apache.hadoop.hive.metastore.client.TestAddPartitionsFromPartSpec.testAddPartitionSpecEmptyDB[Embedded]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestAddPartitionsFromPartSpec.testAddPartitionSpecEmptyDB[Remote]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestAddPartitionsFromPartSpec.testAddPartitionSpecNonExistingDB[Embedded]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestAddPartitionsFromPartSpec.testAddPartitionSpecNonExistingDB[Remote]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestAppendPartitions.testAppendPartitionBogusCatalog[Embedded]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestAppendPartitions.testAppendPartitionBogusCatalog[Remote]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestAppendPartitions.testAppendPartitionEmptyDB[Embedded]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestAppendPartitions.testAppendPartitionEmptyDB[Remote]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestAppendPartitions.testAppendPartitionNonExistingDB[Embedded]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestAppendPartitions.testAppendPartitionNonExistingDB[Remote]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestExchangePartitions.testExchangePartitionEmptyDestDB[Embedded]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestExchangePartitions.testExchangePartitionEmptyDestDB[Remote]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestExchangePartitions.testExchangePartitionEmptySourceDB[Embedded]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestExchangePartitions.testExchangePartitionEmptySourceDB[Remote]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestExchangePartitions.testExchangePartitionNonExistingDestDB[Embedded]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestExchangePartitions.testExchangePartitionNonExistingDestDB[Remote]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestExchangePartitions.testExchangePartitionNonExistingSourceDB[Embedded]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestExchangePartitions.testExchangePartitionNonExistingSourceDB[Remote]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestExchangePartitions.testExchangePartitionsEmptyDestDB[Embedded]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestExchangePartitions.testExchangePartitionsEmptyDestDB[Remote]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestExchangePartitions.testExchangePartitionsEmptySourceDB[Embedded]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestExchangePartitions.testExchangePartitionsEmptySourceDB[Remote]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestExchangePartitions.testExchangePartitionsNonExistingDestDB[Embedded]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestExchangePartitions.testExchangePartitionsNonExistingDestDB[Remote]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestExchangePartitions.testExchangePartitionsNonExistingSourceDB[Embedded]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestExchangePartitions.testExchangePartitionsNonExistingSourceDB[Remote]
 (batchId=212)
org.apache.hadoop.hive.metastore.client.TestTablesCreateDropAlterTruncate.tablesInOtherCatalogs[Embedded]
 (batchId=210)
org.apache.hadoop.hive.metastore.client.TestTablesCreateDropAlterTruncate.tablesInOtherCatalogs[Remote]
 (batchId=210)
org.apache.hadoop.hive.metastore.client.TestTablesCreateDropAlterTruncate.testAlterTableNoSuchDatabase[Embedded]
 (batchId=210)
org.apache.hadoop.hive.metastore.client.TestTablesCreateDropAlterTruncate.testAlterTableNoSuchDatabase[Remote]
 (batchId=210)
org.apache.hadoop.hive.metastore.client.TestTablesCreateDropAlterTruncate.testAlterTableNullDatabaseInNew[Embedded]
 (batchId=210)
org.apache.hadoop.hive.metastore.client.TestTablesCreateDropAlterTruncate.testAlterTableNullDatabaseInNew[Remote]
 (batchId=210)
org.apache.hadoop.hive.metastore.client.TestTablesCreateDropAlterTruncate.testAlterTableNullDatabase[Embedded]
 (batchId=210)
org.apache.hadoop.hive.metastore.client.TestTablesCreateDropAlterTruncate.testAlterTableNullDatabase[Remote]
 (batchId=210)
org.apache.hadoop.hive.ql.parse.TestCopyUtils.testPrivilegedDistCpWithSameUserAsCurrentDoesNotTryToImpersonate
 (batchId=232)
org.apache.hadoop.hive.ql.parse.TestReplicationOnHDFSEncryptedZones.targetAndSourceHaveDifferentEncryptionZoneKeys
 (batchId=232)
org.apache.hadoop.hive.ql.parse.TestReplicationScenariosAcrossInstances.testBootStrapDumpOfWarehouse
 (batchId=232)
org.apache.hadoop.hive.ql.parse.TestReplicationScenariosAcrossInstances.testIncrementalDumpOfWarehouse
 (batchId=232)
org.apache.hadoop.hive.ql.security.authorization.plugin.TestHiveAuthorizerCheckInvocation.testReplDump
 (batchId=236)
org.apache.hive.jdbc.TestJdbcWithMiniHS2.testReplDumpResultSet (batchId=244)
{noformat}

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/11090/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/11090/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-11090/

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
Tests exited with: TestsFailedException: 45 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12924280 - PreCommit-HIVE-Build

> enable CM root based on db parameter, identifying a db as source of 
> replication.
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-19488
>                 URL: https://issues.apache.org/jira/browse/HIVE-19488
>             Project: Hive
>          Issue Type: Task
>          Components: Hive, HiveServer2, repl
>    Affects Versions: 3.1.0
>            Reporter: mahesh kumar behera
>            Assignee: mahesh kumar behera
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.1.0
>
>         Attachments: HIVE-19488.01.patch, HIVE-19488.02.patch, 
> HIVE-19488.03.patch, HIVE-19488.04.patch
>
>
> * add a parameter at db level to identify if its a source of replication. 
> beacon will set this.
>  * Enable CM root only for databases that are a source of a replication 
> policy, for other db's skip the CM root functionality.
>  * prevent database drop if the parameter indicating its source of a 
> replication, is set.
>  * as an upgrade to this version, beacon should set the property on all 
> existing database policies, in affect.
>  * the parameter should be of the form . –  repl.source.for : List < policy 
> ids >



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to