You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jayush Luniya (JIRA)" <ji...@apache.org> on 2016/02/18 21:50:18 UTC
[jira] [Commented] (AMBARI-15098) Ambari Schema Version should
ignore patch number from version number
[ https://issues.apache.org/jira/browse/AMBARI-15098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15153057#comment-15153057 ]
Jayush Luniya commented on AMBARI-15098:
----------------------------------------
mvn clean test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:00:05.456s
[INFO] Finished at: Thu Feb 18 12:35:29 PST 2016
[INFO] Final Memory: 55M/1010M
[INFO] ------------------------------------------------------------------------
> 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)