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

Hive QA commented on HIVE-21739:
--------------------------------



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

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 16056 tests 
executed
*Failed tests:*
{noformat}
org.apache.hive.hcatalog.mapreduce.TestHCatMultiOutputFormat.org.apache.hive.hcatalog.mapreduce.TestHCatMultiOutputFormat
 (batchId=216)
{noformat}

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

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: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12968906 - PreCommit-HIVE-Build

> Make metastore DB backward compatible with pre-catalog versions of hive.
> ------------------------------------------------------------------------
>
>                 Key: HIVE-21739
>                 URL: https://issues.apache.org/jira/browse/HIVE-21739
>             Project: Hive
>          Issue Type: Sub-task
>    Affects Versions: 1.2.0, 2.1.1
>            Reporter: Aditya Shah
>            Assignee: Aditya Shah
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-21739.patch
>
>
> Since the addition of foreign key constraint between Database ('DBS') table 
> and catalogs ('CTLGS') table in HIVE-18755 we are able to run a simple create 
> database command with an older version of Metastore Server. This is due to 
> older versions having JDO schema as per older schema of 'DBS' which did not 
> have an additional 'CTLG_NAME' column.
> The error is as follows: 
> {code:java}
> org.apache.hadoop.hive.ql.metadata.HiveException: 
> MetaException(message:Exception thrown flushing changes to datastore)
> ....
> java.sql.BatchUpdateException: Cannot add or update a child row: a foreign 
> key constraint fails ("metastore_1238"."DBS", CONSTRAINT "CTLG_FK1" FOREIGN 
> KEY ("CTLG_NAME") REFERENCES "CTLGS" ("NAME"))
> {code}



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

Reply via email to