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 87B8D200B78 for ; Fri, 2 Sep 2016 12:51:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 86345160AAB; Fri, 2 Sep 2016 10:51:22 +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 D12CF160ACB for ; Fri, 2 Sep 2016 12:51:21 +0200 (CEST) Received: (qmail 32751 invoked by uid 500); 2 Sep 2016 10:51:20 -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 32551 invoked by uid 99); 2 Sep 2016 10:51:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2016 10:51:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8AAB42C014E for ; Fri, 2 Sep 2016 10:51:20 +0000 (UTC) Date: Fri, 2 Sep 2016 10:51:20 +0000 (UTC) From: "Laszlo Puskas (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-18302) Desired state of client component should not be changed in case configuration changes are applied through a "Restart" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 02 Sep 2016 10:51:22 -0000 [ https://issues.apache.org/jira/browse/AMBARI-18302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Puskas updated AMBARI-18302: ----------------------------------- Description: Configuration changes are propagated to host components by issuing a restart of the affected components. In case of master components this action will start the affected components (regardless it is in INSTALLED or STARTED state) and the desired state will be set to STARTED. In Ambari client components are always expected to be in INSTALLED state. However upon configuration changes, the desired state of these components are also set to STARTED. This may be misleading for ambari API users that determine component states by checking the desired state and actual state. (The actual state in case of client components will always be INSTALLED) This issue addresses this problem by not updating the desired state when client components are restarted. was: Configuration changes are propagated to host components by issuing a restart of the affected components. In case of master components this action will start the affected components (regardless it is in INSTALLED or STARTED state) and the desired state will be set to STARTED. In Ambari client components are always expected to be in INSTALLED state. However upon configuration changes, the desired state of these components are also set to STARTED. This may be misleading for ambari API users that determine component states by checking the desired state and actual state. (Tha actual state in case of client components will always be INSTALLED) This issue addresses this problem by not updating the desired state when client components are restarted. > Desired state of client component should not be changed in case configuration changes are applied through a "Restart" > --------------------------------------------------------------------------------------------------------------------- > > Key: AMBARI-18302 > URL: https://issues.apache.org/jira/browse/AMBARI-18302 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.4.0 > Reporter: Laszlo Puskas > Assignee: Laszlo Puskas > Original Estimate: 24h > Remaining Estimate: 24h > > Configuration changes are propagated to host components by issuing a restart of the affected components. > In case of master components this action will start the affected components (regardless it is in INSTALLED or STARTED state) and the desired state will be set to STARTED. > In Ambari client components are always expected to be in INSTALLED state. However upon configuration changes, the desired state of these components are also set to STARTED. This may be misleading for ambari API users that determine component states by checking the desired state and actual state. (The actual state in case of client components will always be INSTALLED) > This issue addresses this problem by not updating the desired state when client components are restarted. -- This message was sent by Atlassian JIRA (v6.3.4#6332)