Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A8724200BB1 for ; Thu, 3 Nov 2016 20:40:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A73C4160AE5; Thu, 3 Nov 2016 19:40:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ED43D160B0C for ; Thu, 3 Nov 2016 20:39:59 +0100 (CET) Received: (qmail 55911 invoked by uid 500); 3 Nov 2016 19:39:59 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 55687 invoked by uid 99); 3 Nov 2016 19:39:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2016 19:39:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C59AC2C2A67 for ; Thu, 3 Nov 2016 19:39:58 +0000 (UTC) Date: Thu, 3 Nov 2016 19:39:58 +0000 (UTC) From: "Jayush Luniya (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-18774) Install Package for non-HDP stack fails with non-VDF repo version MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 03 Nov 2016 19:40:00 -0000 [ https://issues.apache.org/jira/browse/AMBARI-18774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayush Luniya updated AMBARI-18774: ----------------------------------- Attachment: AMBARI-18774.2.patch > 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.2.patch, 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)