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 4BE881818B for ; Thu, 6 Aug 2015 14:12:29 +0000 (UTC) Received: (qmail 92301 invoked by uid 500); 6 Aug 2015 14:12:26 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 92265 invoked by uid 500); 6 Aug 2015 14:12:26 -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 92248 invoked by uid 99); 6 Aug 2015 14:12:25 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2015 14:12:25 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id CAC05DA2CB; Thu, 6 Aug 2015 14:12:23 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============8971469515661147275==" MIME-Version: 1.0 Subject: Review Request 37185: Ambari is overwriting the content of the topology script, even custom From: "Andrew Onischuk" To: "Dmytro Sen" Cc: "Andrew Onischuk" , "Ambari" Date: Thu, 06 Aug 2015 14:12:23 -0000 Message-ID: <20150806141223.11504.96047@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Andrew Onischuk" X-ReviewGroup: Ambari X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/37185/ X-Sender: "Andrew Onischuk" Reply-To: "Andrew Onischuk" X-ReviewRequest-Repository: ambari --===============8971469515661147275== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37185/ ----------------------------------------------------------- Review request for Ambari and Dmytro Sen. Bugs: AMBARI-12662 https://issues.apache.org/jira/browse/AMBARI-12662 Repository: ambari Description ------- Ambari is overwriting the contents of whatever net.topology.script.file.name is set to. This makes it impossible for a user to manage topology scripts on their own (if they have an existing script, it keeps getting blown over) Regardless if net.topology.script.file.name is set, Ambari should only manage /etc/hadoop/conf/topology.py and NOT read the net.topology.script.file.name property and overwrite that file's content. If a user chooses to manage their own topology script and set that property accordingly, they should be ok doing that and Ambari should not touch it. Diffs ----- ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py 3ddefe3 Diff: https://reviews.apache.org/r/37185/diff/ Testing ------- mvn clean test Thanks, Andrew Onischuk --===============8971469515661147275==--