[
https://issues.apache.org/jira/browse/AMBARI-15098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15153406#comment-15153406
]
Hudson commented on AMBARI-15098:
---------------------------------
FAILURE: Integrated in Ambari-branch-2.2 #358 (See
[https://builds.apache.org/job/Ambari-branch-2.2/358/])
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=d12e14c90c7b22034a39ec7b0872ff67445bb010])
* ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql
*
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
* ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
*
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/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
* ambari-server/pom.xml
* ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
* ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
*
ambari-server/src/test/java/org/apache/ambari/server/utils/TestVersionUtils.java
> 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)