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

Hudson commented on AMBARI-15098:
---------------------------------

ABORTED: Integrated in Ambari-trunk-Commit #4353 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/4353/])
AMBARI-15098: Ambari Schema Version should ignore patch number from (jluniya: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0818202169217994fab9dcc254b7728a2bfc238f])
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/utilities/DatabaseChecker.java
* ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
* 
ambari-server/src/test/java/org/apache/ambari/server/utils/TestVersionUtils.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
* ambari-server/pom.xml
* ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql


> Ambari Schema Version should ignore patch number from version number
> --------------------------------------------------------------------
>
>                 Key: AMBARI-15098
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15098
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.1
>            Reporter: Jayush Luniya
>            Assignee: Jayush Luniya
>            Priority: Critical
>             Fix For: 2.2.2
>
>         Attachments: AMBARI-15098.patch
>
>
> # On ambari-server upgrade to a patch release version (2.0.2 -> 2.2.1.2), 
> ambari server fails to start. 
> # This is because the schema version set in the DB on ambari-server upgrade 
> is 2.2.1 whereas ambari-server version is 2.2.1.2. 
> # This incosistency leads to DB check failure. DB check should ignore patch 
> release number from the ambari version. 
> # Further a clean install on 2.2.1.2 will set the DB schema version to 
> 2.2.1.2 whereas an upgrade to 2.2.1.2 will set the DB schema version to 2.2.1
> # We should fix this inconsistency by always setting DB schema version to 
> 3-digit and ignoring the patch release version during DB check. 
> # We will not be supporting DB schema changes in patch releases.  



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

Reply via email to