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

Alejandro Fernandez commented on AMBARI-10022:
----------------------------------------------

[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main ....................................... SUCCESS [9.617s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.031s]
[INFO] Ambari Web ........................................ SUCCESS [1:31.382s]
[INFO] Ambari Views ...................................... SUCCESS [2.289s]
[INFO] Ambari Admin View ................................. SUCCESS [9.585s]
[INFO] Ambari Metrics Common ............................. SUCCESS [1.336s]
[INFO] Ambari Server ..................................... SUCCESS [33:19.036s]
[INFO] Ambari Agent ...................................... SUCCESS [20.934s]
[INFO] Ambari Client ..................................... SUCCESS [0.036s]
[INFO] Ambari Python Client .............................. SUCCESS [0.253s]
[INFO] Ambari Groovy Client .............................. SUCCESS [9.405s]
[INFO] Ambari Shell ...................................... SUCCESS [0.030s]
[INFO] Ambari Python Shell ............................... SUCCESS [0.035s]
[INFO] Ambari Groovy Shell ............................... SUCCESS [6.485s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 35:51.111s
[INFO] Finished at: Wed Mar 11 19:13:01 PDT 2015
[INFO] Final Memory: 62M/392M
[INFO] ------------------------------------------------------------------------


> RU - DB Schema differs between Postgres internal and external
> -------------------------------------------------------------
>
>                 Key: AMBARI-10022
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10022
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Alejandro Fernandez
>            Assignee: Alejandro Fernandez
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-10022.patch
>
>
> The DB schema differs between the internal and external Postgres databases, 
> and this affects RU.
> Impact: If not fixed in Ambari 2.0, then a future release will have to absorb 
> the technical debt and need the Ambari Update to correct the schema in order 
> to keep it consistent in order to prevent bugs.
>  
> Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
> {code}
> CREATE TABLE ambari.repo_version (
>   repo_version_id BIGINT,  -- should have NOT NULL modifier
>   ...
>   INSERT INTO ambari_sequences (sequence_name, sequence_value)
>   ...
>   union all
>   select 'upgrade_group_id_seq', 0 
> {code}
> vs
> Ambari-DDL-Postgres-CREATE.sql
> {code}
> CREATE TABLE ambari.repo_version (
>   repo_version_id BIGINT NOT NULL,
>   ...
> INSERT INTO ambari_sequences (sequence_name, sequence_value)
> ...
> -- Doesn't insert upgrade_group_id_seq
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to