Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 625041038B for ; Tue, 27 Aug 2013 15:06:56 +0000 (UTC) Received: (qmail 34031 invoked by uid 500); 27 Aug 2013 15:06:56 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 33625 invoked by uid 500); 27 Aug 2013 15:06:54 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 33216 invoked by uid 99); 27 Aug 2013 15:06:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Aug 2013 15:06:53 +0000 Date: Tue, 27 Aug 2013 15:06:52 +0000 (UTC) From: "Oleksandr Diachenko (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-3036) Ambari version check failing for local development/VM MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-3036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13751337#comment-13751337 ] Oleksandr Diachenko commented on AMBARI-3036: --------------------------------------------- +1 > Ambari version check failing for local development/VM > ----------------------------------------------------- > > Key: AMBARI-3036 > URL: https://issues.apache.org/jira/browse/AMBARI-3036 > Project: Ambari > Issue Type: Bug > Components: controller > Reporter: Dmytro Shkvyra > Assignee: Dmytro Shkvyra > Fix For: 1.4.1 > > Attachments: AMBARI-3036.patch > > > When running ambari from trunk, connecting to a local VM, the version check relies on a numeric version (x.x.x). However, the version file contains only $ > {ambariVersion} > which is replaced at build time, making dev environs difficult to setup. > The version check should first do a string compare for equality, which is likely the most common case -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira