You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/10/24 15:28:58 UTC
[jira] [Commented] (AMBARI-18676) Fix constraint violations in
adminprincipal table when installing database schema
[ https://issues.apache.org/jira/browse/AMBARI-18676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15602316#comment-15602316 ]
Hudson commented on AMBARI-18676:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #5856 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5856/])
AMBARI-18676. Fix constraint violations in adminprincipal table when (rlevas: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0aed646447c66f3f4d650e822a354b3a04440f80])
* (edit) ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql
* (edit) ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
* (edit) ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
* (edit) ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
* (edit) ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
* (edit) ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql
> Fix constraint violations in adminprincipal table when installing database schema
> ---------------------------------------------------------------------------------
>
> Key: AMBARI-18676
> URL: https://issues.apache.org/jira/browse/AMBARI-18676
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.2
> Reporter: Robert Levas
> Assignee: Robert Levas
> Priority: Blocker
> Fix For: 2.4.2
>
> Attachments: AMBARI-18676_branch-2.4_01.patch, AMBARI-18676_branch-2.5_01.patch, AMBARI-18676_trunk_01.patch
>
>
> Fix constraint violations in adminprincipal table when installing database schema
> {noformat}
> psql:/var/lib/ambari-server/resources/Ambari-DDL-Postgres-CREATE.sql:1132: ERROR: insert or update on table "adminprincipal" violates foreign key constraint "fk_principal_principal_type_id"
> DETAIL: Key (principal_type_id)=(3) is not present in table "adminprincipaltype".
> {noformat}
> This was caused by the patch from AMBARI-18635.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)