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 733E210129 for ; Wed, 2 Oct 2013 14:26:44 +0000 (UTC) Received: (qmail 93951 invoked by uid 500); 2 Oct 2013 14:26:44 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 93880 invoked by uid 500); 2 Oct 2013 14:26:43 -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 93846 invoked by uid 99); 2 Oct 2013 14:26:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Oct 2013 14:26:42 +0000 Date: Wed, 2 Oct 2013 14:26:42 +0000 (UTC) From: "Oleksandr Diachenko (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-3428) Doing host override of a property saves only that property in file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Oleksandr Diachenko created AMBARI-3428: ------------------------------------------- Summary: Doing host override of a property saves only that property in file Key: AMBARI-3428 URL: https://issues.apache.org/jira/browse/AMBARI-3428 Project: Ambari Issue Type: Task Components: controller Affects Versions: 1.4.1 Reporter: Oleksandr Diachenko Assignee: Oleksandr Diachenko Priority: Critical Fix For: 1.4.2 For the oozie-server host, I overrode {{oozie.service.PurgeService.older.than}} property using UI. The API correctly showed the overridden property. {noformat} "oozie-site" : { "user" : "admin", "host_overrides" : [ { "host_name" : "oozie-server-host.internal", "tag" : "version1380230970605_oozie-server-host.internal" } ], "tag" : "version1" }, {noformat} The configuration for the host override also correctly had only 1 property: {noformat} { "href" : "http://server:8080/api/v1/clusters/c1/configurations?type=oozie-site&tag=version1380230970605_oozie-server-host.internal", "items" : [ { "href" : "http://server:8080/api/v1/clusters/c1/configurations?type=oozie-site&tag=version1380230970605_oozie-server-host.internal", "tag" : "version1380230970605_oozie-server-host.internal", "type" : "oozie-site", "Config" : { "cluster_name" : "c1" }, "properties" : { "oozie.service.PurgeService.older.than" : "42" } } ] } {noformat} However, Oozie server fails to start due to {{/etc/oozie/conf/oozie-site.xml}} having just the following content: {noformat} oozie.service.PurgeService.older.than 42 {noformat} -- This message was sent by Atlassian JIRA (v6.1#6144)