[
https://issues.apache.org/jira/browse/AMBARI-22817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16615485#comment-16615485
]
Hudson commented on AMBARI-22817:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #9954 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/9954/])
[AMBARI-22817] Update backend code to handle new versioning schema.
(mradhakrishnan:
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=611337c928c99222133effb3ad8dc708cdfb8da3])
* (add)
ambari-common/src/main/python/resource_management/libraries/functions/module_version.py
* (edit)
ambari-server/src/test/java/org/apache/ambari/server/utils/TestVersionUtils.java
* (add)
ambari-server/src/main/java/org/apache/ambari/server/utils/MpackVersion.java
* (add)
ambari-common/src/main/python/resource_management/libraries/functions/mpack_version.py
* (add)
ambari-server/src/main/java/org/apache/ambari/server/utils/ModuleVersion.java
* (edit) ambari-server/src/test/python/TestVersion.py
> Update backend code to handle new versioning schema
> ---------------------------------------------------
>
> Key: AMBARI-22817
> URL: https://issues.apache.org/jira/browse/AMBARI-22817
> Project: Ambari
> Issue Type: Task
> Components: ambari-server
> Affects Versions: 3.0.0
> Reporter: Vitaly Brodetskyi
> Assignee: Vitaly Brodetskyi
> Priority: Critical
> Labels: pull-request-available
> Fix For: 3.0.0
>
> Attachments: AMBARI-22817.patch, AMBARI-22817_part2.patch
>
> Time Spent: 3h 40m
> Remaining Estimate: 0h
>
> The new module and mpack meta rpms will have be versioned as follows
> *Mpack Versioning*
> {code}
> <MAJOR>.<MINOR>.<MAINT>-b<BUILDNUM>
> <MAJOR>.<MINOR>.<MAINT>-h<HOTFIXNUM>-b<BUILDNUM>
> {code}
> *Examples*
> {code}
> hdpcore 3.0.0-b123
> hdpcore 3.0.0-h7-b111
> edw 1.0.0-b234
> edw 1.0.0-h15-b7
> {code}
> *Module Versioning*
> {code}
> <APACHE-MAJOR>.<APACHE-MINOR>.<HWX-MINOR>.<HWX-MAINT>-b<BUILDNUM>
> <APACHE-MAJOR>.<APACHE-MINOR>.<HWX-MINOR>.<HWX-MAINT>-h<HOTFIXNUM>-b<BUILDNUM>
> {code}
> *Examples*
> {code}
> hdfs 3.0.0.1-b123
> hdfs 3.0.1.0-h77-b11
> zookeeper 3.5.1.0-b111
> zookeeper 3.5.1.1-h21-b10
> {code}
> We need the BE code (java, python) to handle this versioning schema while
> comparing versions, formatting versions etc.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)