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 229F3185AD for ; Mon, 14 Dec 2015 16:07:47 +0000 (UTC) Received: (qmail 37407 invoked by uid 500); 14 Dec 2015 16:07:47 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 37363 invoked by uid 500); 14 Dec 2015 16:07: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 37325 invoked by uid 99); 14 Dec 2015 16:07:46 -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:07:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BCFEC2C1F7C for ; Mon, 14 Dec 2015 16:07:46 +0000 (UTC) Date: Mon, 14 Dec 2015 16:07:46 +0000 (UTC) From: "Andrii Babiichuk (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-14371) No eventual config changes should not recommend extra config changes 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-14371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrii Babiichuk updated AMBARI-14371: -------------------------------------- Attachment: AMBARI-14371.patch > No eventual config changes should not recommend extra config changes > -------------------------------------------------------------------- > > Key: AMBARI-14371 > URL: https://issues.apache.org/jira/browse/AMBARI-14371 > Project: Ambari > Issue Type: Bug > Components: ambari-web > Affects Versions: 2.2.0 > Reporter: Andrii Babiichuk > Assignee: Andrii Babiichuk > Fix For: 2.4.0 > > Attachments: AMBARI-14371.patch > > > This ticket proposes that if user has not made any eventual config change (for example "Enabled Ranger plugin for HBase" and then disabled it again) then ambari should not show any extra config changes. > For this we need to keep track of explicit config changes that are being made by the user. If a config change at any time negates all the user config changes done before then UI should send configs in the data posted in recommendation API as received from stack (on installer/ASW wizard) or the last service config version (post-install). > Please find below examples: > First example: > On Installer/ASW, When user lands on "Customize Services" page, ui posts data to recommendation API with all config values as received from stack endpoint > After that, If user changes "Ranger plugin for HBase" to ON, ui send recommendation API with all config values as received from stack endpoint + overriden value of some config received from response of API executed in step-1 > User Changes "Ranger plugin for HBase" to OFF, ui should post data to recommendation API with all config values as received from stack endpoint (as done in step1). The reason being the all users previously explicitly made changes have been negated at this point > Second Example: > On Installer/ASW, When user lands on "Customize Services" page, ui posts data to recommendation API with all config values as received from stack endpoint > After that, If user changes "Ranger plugin for HBase" to ON and changes some other property "xyz" to "v1", ui send recommendation API with all config values as currently set in UI (received from stack endpoint + overriden value of some config received from response of API executed in step-1) > Changes "Ranger plugin for HBase" to OFF, ui should post data to recommendation API with all config values as set currently on UI (same behavior as ui displays today). -- This message was sent by Atlassian JIRA (v6.3.4#6332)