[ https://issues.apache.org/jira/browse/AMBARI-18774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629662#comment-15629662 ]
Jayush Luniya commented on AMBARI-18774: ---------------------------------------- mvn clean test INFO ------------------------------------------------------------------------ INFO BUILD SUCCESS INFO ------------------------------------------------------------------------ INFO Total time: 1:05:11.694s INFO Finished at: Tue Nov 01 20:55:29 PDT 2016 INFO Final Memory: 56M/1012M INFO ------------------------------------------------------------------------ > Install Package for non-HDP stack fails with non-VDF repo version > ----------------------------------------------------------------- > > Key: AMBARI-18774 > URL: https://issues.apache.org/jira/browse/AMBARI-18774 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.4.0 > Reporter: Jayush Luniya > Assignee: Jayush Luniya > Priority: Critical > Fix For: 2.4.2 > > Attachments: AMBARI-18774.patch > > > Install Package fails when registering a new non-HDP version without using a > VDF. This is because the repo version is saved as display name (i.e. > "HDF-2.1.0.0-30" instead of "2.1.0.0-30"). If a new version is registered > using VDF, we dont run into this issue as the version is set correctly. > {code} > Ambari cannot install version HDF-2.1.0.0. Version 2.0.1.0-12 is already > installed. > {code} > Fix: > Remove HDP specific hardcodings from RepositoryVersionEntity.java -- This message was sent by Atlassian JIRA (v6.3.4#6332)