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 E7B6CF805 for ; Tue, 9 Apr 2013 18:32:15 +0000 (UTC) Received: (qmail 32982 invoked by uid 500); 9 Apr 2013 18:32:15 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 32956 invoked by uid 500); 9 Apr 2013 18:32:15 -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 32947 invoked by uid 99); 9 Apr 2013 18:32:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 18:32:15 +0000 Date: Tue, 9 Apr 2013 18:32:15 +0000 (UTC) From: "Srimanth Gunturi (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-1847) Make single PUT call for multiple host overrides 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-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srimanth Gunturi updated AMBARI-1847: ------------------------------------- Attachment: AMBARI-1847.patch > Make single PUT call for multiple host overrides > ------------------------------------------------ > > Key: AMBARI-1847 > URL: https://issues.apache.org/jira/browse/AMBARI-1847 > Project: Ambari > Issue Type: Improvement > Components: client > Affects Versions: 1.3.0 > Reporter: Srimanth Gunturi > Assignee: Srimanth Gunturi > Fix For: 1.3.0 > > Attachments: AMBARI-1847.patch > > > Currently when we save host-overrides configuration, we have to do PUT of the delta on each host. > This is problematic if admin provides an exception to 100 hosts. This will require 100 PUT calls which is expensive. There is a bulk update mechanism, but that requires the same content for all 100 hosts. This will not be the case if any hosts have other properties that are overridden. > To save on network calls, we have to make one PUT call via the new API provided by AMBARI-1844. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira