Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 10AFA185E0 for ; Mon, 14 Dec 2015 16:10:48 +0000 (UTC) Received: (qmail 48921 invoked by uid 500); 14 Dec 2015 16:10:47 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 48888 invoked by uid 500); 14 Dec 2015 16:10:47 -0000 Mailing-List: contact dev-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 dev@ambari.apache.org Received: (qmail 48858 invoked by uid 99); 14 Dec 2015 16:10:47 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2015 16:10:47 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7939E2C1F6E for ; Mon, 14 Dec 2015 16:10:47 +0000 (UTC) Date: Mon, 14 Dec 2015 16:10:47 +0000 (UTC) From: "Andrii Tkach (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-14367) Web Client Displays Incorrect Host Version Counts For Installed Repos 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-14367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15056195#comment-15056195 ] Andrii Tkach commented on AMBARI-14367: --------------------------------------- committed to trunk > Web Client Displays Incorrect Host Version Counts For Installed Repos > --------------------------------------------------------------------- > > Key: AMBARI-14367 > URL: https://issues.apache.org/jira/browse/AMBARI-14367 > Project: Ambari > Issue Type: Bug > Components: ambari-web > Affects Versions: 2.3.0 > Reporter: Andrii Tkach > Assignee: Andrii Tkach > Priority: Critical > Fix For: 2.4.0 > > Attachments: AMBARI-14367.patch, Capture.PNG, Capture_with_patch.PNG, Screen Shot 2015-12-11 at 8.59.26 PM.png > > > After creating and installing a repository, the web client is incorrectly displaying the counts of hosts for each repo (see attachment). > STR: > 1) Register a new repo > 2) Install repo > {code} > { > "href": "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/stack_versions?fields=*,repository_versions/*,repository_versions/operating_systems/repositories/*&_=1449885691901", > "items": [ > { > "href": "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/stack_versions/1", > "ClusterStackVersions": { > "cluster_name": "c1", > "id": 1, > "repository_version": 1, > "stack": "HDP", > "state": "CURRENT", > "version": "2.3", > "host_states": { > "CURRENT": [ > "c6401.ambari.apache.org", > "c6402.ambari.apache.org", > "c6403.ambari.apache.org" > ], > "INSTALLED": [], > "INSTALLING": [], > "INSTALL_FAILED": [], > "OUT_OF_SYNC": [], > "UPGRADED": [], > "UPGRADE_FAILED": [], > "UPGRADING": [] > } > }, > "repository_versions": [] > }, > { > "href": "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/stack_versions/51", > "ClusterStackVersions": { > "cluster_name": "c1", > "id": 51, > "repository_version": 51, > "stack": "HDP", > "state": "INSTALLED", > "version": "2.3", > "host_states": { > "CURRENT": [], > "INSTALLED": [ > "c6401.ambari.apache.org", > "c6402.ambari.apache.org", > "c6403.ambari.apache.org" > ], > "INSTALLING": [], > "INSTALL_FAILED": [], > "OUT_OF_SYNC": [], > "UPGRADED": [], > "UPGRADE_FAILED": [], > "UPGRADING": [] > } > }, > "repository_versions": [] > } > ] > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)