Return-Path: X-Original-To: apmail-ambari-issues-archive@minotaur.apache.org Delivered-To: apmail-ambari-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2025818369 for ; Thu, 10 Mar 2016 17:24:41 +0000 (UTC) Received: (qmail 16479 invoked by uid 500); 10 Mar 2016 17:24:41 -0000 Delivered-To: apmail-ambari-issues-archive@ambari.apache.org Received: (qmail 16448 invoked by uid 500); 10 Mar 2016 17:24:41 -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 16414 invoked by uid 99); 10 Mar 2016 17:24:41 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2016 17:24:41 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E19BD2C044E for ; Thu, 10 Mar 2016 17:24:40 +0000 (UTC) Date: Thu, 10 Mar 2016 17:24:40 +0000 (UTC) From: "Dmitry Lysnichenko (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-15374) Check To Ensure That All Components Are On The Same Version Before Upgrading 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-15374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry Lysnichenko updated AMBARI-15374: ---------------------------------------- Affects Version/s: 2.2.2 > Check To Ensure That All Components Are On The Same Version Before Upgrading > ---------------------------------------------------------------------------- > > Key: AMBARI-15374 > URL: https://issues.apache.org/jira/browse/AMBARI-15374 > Project: Ambari > Issue Type: Task > Components: ambari-server > Affects Versions: 2.2.2 > Reporter: Dmitry Lysnichenko > Assignee: Dmitry Lysnichenko > Fix For: 2.2.2 > > Attachments: AMBARI-15374.patch > > > Before beginning an upgrade, there should be a pre-upgrade check which ensures that all known, versionable components are reporting the same version. If any host component is reporting a version which does not match the current repository version, then a warning should be produced. The warning should provide information on the failed components, the expected version, and the version they are reporting. > Note that this is only for Ambari 2.2.x; Ambari 2.4.0 uses a new workflow for how versions are recorded and stored during upgrade and does not need this. > There are two ways to go about this: > - Compare each service component host version to that of the {{CURRENT}} {{repo_version}}. However, there could be cases where the {{repo_version}} has not been calculated yet. > - Compare each service component host version to each other. -- This message was sent by Atlassian JIRA (v6.3.4#6332)